import { BaseClient, BaseClientConfig } from "@supermercadoscaetano/clients"; import { iFoodClientConfig } from "./config"; import { AxiosResponse } from 'axios'; import { ProdutosInvalidResponse, ProdutosPatchRequest, ProdutosPostRequest, ProdutosResponse } from './models/produtos'; import { PedidoEventCategoryType, PedidoEventoResponse, PedidoEventoVerificadoRequest, PedidoResponse } from './models/pedidos'; export declare class iFoodClient extends BaseClient { currentToken?: string; currentExpiry?: number; translateConfig(config?: iFoodClientConfig): BaseClientConfig | undefined; protected refreshAccessToken(): Promise<{ token: string; expiry: number; }>; constructor(config?: iFoodClientConfig); protected getData(): Promise<{ token?: string; expiry?: number; }>; protected saveData(token?: string, expiry?: number): Promise; static create(config?: iFoodClientConfig): iFoodClient; postProdutosAsync(produtos: Array, reset?: boolean): Promise>; patchProdutosAsync(produtos: Array, reset?: boolean): Promise>; getPedidoEventosAsync(idLoja: number, eventCategory?: PedidoEventCategoryType): Promise>; postPedidoEventosVerificadosAsync(ids: Array): Promise; getPedidoAsync(codigoPedido: string): Promise; } //# sourceMappingURL=ifoodclient.d.ts.map