import type { CreatePresetViewPayload, PresetView, UpdatePresetViewPayload } from '@bringg/types';
import type { CommonOptions } from '../Core/RouteGenerator';
import type Session from '../Services/Identity/Session';
export default class PresetViewsApi {
    private entity;
    constructor(session: Session);
    loadAll: (query?: string | Record<string, unknown>, commonOptions?: CommonOptions) => Promise<PresetView[]>;
    create: (payload: CreatePresetViewPayload, commonOptions?: CommonOptions) => Promise<PresetView>;
    patch: (payload: UpdatePresetViewPayload, commonOptions?: CommonOptions) => Promise<PresetView>;
    delete: (id: PresetView['id'], commonOptions?: CommonOptions) => Promise<PresetView>;
}
