import { IApiPayload, IDataFetcherResponse, IDataTableQuery, IApiSuccess } from '../../../../../_common';
import { IFindTaxRateAndTaxZoneRequest, IFoundTaxRateAndTaxZoneResponse, ILanguagesScopesAndFieldsResponse, INewTaxRate, ITaxClassAndTaxZoneRequest, ITaxRate, ITaxRateResponse } from './TaxRates.models';

export declare const taxRatesApi: {
    /** getList */
    getList(query?: IDataTableQuery): Promise<IDataFetcherResponse<ITaxRate>>;
    /** get */
    get(id: number): Promise<IApiPayload<ITaxRate>>;
    /** create */
    create(taxRate: INewTaxRate): Promise<IApiPayload<ITaxRate>>;
    /** save */
    save(taxRate: ITaxRate): Promise<IDataFetcherResponse<ITaxRate>>;
    /** delete */
    delete(id: number): Promise<IApiSuccess>;
    /** getTaxRateByTaxClassAndTaxZone */
    getTaxRateByTaxClassAndTaxZone(options: ITaxClassAndTaxZoneRequest): Promise<ITaxRateResponse>;
    /** findTaxRateAndTaxZone */
    findTaxRateAndTaxZone(options: IFindTaxRateAndTaxZoneRequest): Promise<IFoundTaxRateAndTaxZoneResponse>;
    /** getListOfLanguagesScopesAndFields */
    getListOfLanguagesScopesAndFields(): Promise<ILanguagesScopesAndFieldsResponse>;
};
