import { IApiPayload, IDataFetcherResponse, IDataTableQuery } from '../../api.models';
import { ITenant } from '../../common.models';

export declare const allTenantsApi: {
    /** . | List tenants. ADT request */
    listTenants(query: IDataTableQuery): Promise<IDataFetcherResponse<ITenant>>;
    /** Load tenant */
    loadTenant(tenantId?: number): Promise<IApiPayload<ITenant>>;
    /** Save tenant */
    saveTenant(tenant: ITenant): Promise<IApiPayload<ITenant>>;
};
