import { OAuth2Client } from 'google-auth-library';
export interface ProductData {
    offerId: string;
    title: string;
    description: string;
    link: string;
    imageLink: string;
    price: {
        value: string;
        currency: string;
    };
    availability: 'in stock' | 'out of stock' | 'preorder';
    brand?: string;
    gtin?: string;
    mpn?: string;
    condition?: 'new' | 'refurbished' | 'used';
    category?: string;
}
export declare class GoogleMerchantService {
    private oauth2Client;
    private merchantId;
    constructor();
    /**
     * Gera URL de autenticação OAuth
     */
    getAuthUrl(): string;
    /**
     * Troca o código de autorização por tokens
     */
    getTokens(code: string): Promise<{
        access_token?: string | null;
        refresh_token?: string | null;
    }>;
    /**
     * Configura as credenciais usando refresh token
     */
    authenticate(): Promise<OAuth2Client>;
    /**
     * Insere um produto no Google Merchant Center
     */
    insertProduct(product: ProductData): Promise<import("googleapis").content_v2_1.Schema$Product>;
    /**
     * Atualiza um produto existente
     */
    updateProduct(offerId: string, product: Partial<ProductData>): Promise<import("googleapis").content_v2_1.Schema$Product>;
    /**
     * Lista produtos do Merchant Center
     */
    listProducts(maxResults?: number): Promise<import("googleapis").content_v2_1.Schema$ProductsListResponse>;
    /**
     * Deleta um produto
     */
    deleteProduct(offerId: string): Promise<{
        success: boolean;
    }>;
}
//# sourceMappingURL=googleMerchantService.d.ts.map