/** Default page size for invoicing list / infinite-scroll requests. */ export declare const INVOICING_LIST_PAGE_SIZE = 50; /** Append a query string (with leading `?`) when params are present. */ export declare const withQuery: (path: string, params: URLSearchParams) => string; /** * Server-side sort descriptor shared by all invoicing list views. `field` is the * backend sort key (validated against a per-entity whitelist); `dir` mirrors the * DataListTable sort direction. */ export interface InvoicingListSort { dir: 'asc' | 'desc'; field: string; } /** Attach `sort_field`/`sort_dir` to a list query when a sort is active. */ export declare const applyListSortParams: (params: URLSearchParams, sort?: InvoicingListSort) => void;