import { type AxiosResponse } from 'axios';
import { type GetLeadResponseType, type FilteredSearchLeadResponseType, type FilteredSearchContactResponseType } from './schema';
export declare class FreshsalesApiClient {
    private readonly client;
    constructor({ baseUrl, apiKey }: {
        baseUrl: string;
        apiKey: string;
    });
    getLead(leadId: string): Promise<AxiosResponse<GetLeadResponseType>>;
    searchLeadByEmail(email: string): Promise<AxiosResponse<FilteredSearchLeadResponseType>>;
    searchContactByEmail(email: string): Promise<AxiosResponse<FilteredSearchContactResponseType>>;
}
