import { CustomerSearchHistoryFilterResultDTO, CustomerSearchHistoryCreateDraftDTO, CustomerSearchHistoryDTO } from '@sentecacommerce/sdk';
import { MutationResultPair, QueryResult } from 'react-query';
declare type searchHistoryApiType = {
    readonly useAdd: (onSuccess?: () => void) => MutationResultPair<CustomerSearchHistoryDTO, unknown, CustomerSearchHistoryCreateDraftDTO, unknown>;
    readonly useRemove: (onSuccess?: () => void) => MutationResultPair<CustomerSearchHistoryDTO, unknown, string, unknown>;
    readonly useSearchHistory: () => QueryResult<CustomerSearchHistoryFilterResultDTO, unknown>;
};
export declare const MySearchHistoryApiFactory: {
    getInstance: () => searchHistoryApiType;
};
export declare const searchHistoryApi: searchHistoryApiType;
export {};
