import type { SaveWorkAreaPayload, WorkAreaItem } from '../model';
import { type ApiResponse } from './shared';
export declare const getWorkAreas: () => Promise<WorkAreaItem[]>;
export declare const createWorkArea: (payload: SaveWorkAreaPayload) => Promise<WorkAreaItem | null>;
export declare const updateWorkArea: (id: number | string, payload: SaveWorkAreaPayload) => Promise<WorkAreaItem | null>;
export declare const sortWorkAreas: (ids: number[]) => Promise<any>;
export declare const deleteWorkArea: (id: number | string) => Promise<any>;
export declare const getWorkAreaDetail: (params: {
    id: number | string;
    relation_count?: string[];
}) => Promise<ApiResponse<WorkAreaItem[] | WorkAreaItem>>;
