import { OrderDTO, OrderFilterResultDTO, SendOrderDTO } from '@sentecacommerce/sdk';
import { MutationResultPair, QueryResult, InfiniteQueryResult } from 'react-query';
declare type myOrdersApiType = {
    readonly useCreate: (meta: SendOrderDTO, onSuccess?: (result: OrderDTO) => void, onError?: (error: any) => void) => MutationResultPair<OrderDTO, unknown, any, unknown>;
    readonly useGetById: (id?: string) => QueryResult<OrderDTO, unknown>;
    readonly useOrders: (query?: {
        limit?: number;
        offset?: number;
    }) => InfiniteQueryResult<OrderFilterResultDTO, unknown>;
};
export declare const MyOrdersApiFactory: {
    getInstance: () => myOrdersApiType;
};
export declare const myOrdersApi: myOrdersApiType;
export {};
