import { Ref } from 'vue';
import { ViewSetApi } from '../adapters/api';
import FormPayload from '../form/definitions/form-payload';
import ConsumerLogicBase from './consumer-logic-base';
import type { APIConsumer } from './namespace';
declare class ConsumerLogicApi extends ConsumerLogicBase implements APIConsumer.ConsumerLogicAPIInterface {
    protected readonly trailingSlash: boolean;
    protected readonly baseUrl: string | Ref<string>;
    protected readonly api: ViewSetApi<any>;
    protected requestId: number;
    constructor(baseURL: string | Ref<string>, trailingSlash?: boolean);
    fetch(url?: string): Promise<any>;
    fetchRecords(): Promise<any[]>;
    fetchNewRows(url: string): Promise<any>;
    formatUrlWithOrderParam(url: string): string;
    reload(): Promise<void>;
    getRecord(pkValue: string): Promise<any>;
    getUXDefinition(pkValue?: APIConsumer.PKValueType): Promise<APIConsumer.TableUXDefinition>;
    getFullDefinition(): Promise<void>;
    getFormDefinition(pkValue?: APIConsumer.PKValueType): Promise<APIConsumer.FormDefinition>;
    deleteRow(tableRow: FormPayload): Promise<void>;
    dialogForm(pk: APIConsumer.PKValueType): Promise<any>;
}
export default ConsumerLogicApi;
//# sourceMappingURL=consumer-logic-api.d.ts.map