///
export declare function useListCommonVariables({ filters, filterName: forcedFilterName, name, singularName: forcedSingularName, navigationMode, search, defaultRowsPerPage, displayRoute, newRoute, editRoute, deletable, deleteQueryName, onNewClick, columns, listRoute, filterListRoute, listFirstPageRoute, searchSwitch, queryName: forcedQueryName, rowsPerPageOptions, rowHeight, sortBuilder, }: {
name: string;
singularName?: string;
defaultRowsPerPage?: number;
displayRoute?: string;
newRoute?: string;
onNewClick?: Function;
search?: boolean;
editRoute?: string;
deletable?: boolean;
deleteQueryName?: string;
filterName?: string;
filters?: any;
listRoute?: string;
filterListRoute?: string;
columns?: {
id: string;
format?: any;
label?: string;
width?: number;
render?: Function;
if?: Function;
filters?: string[];
}[];
navigationMode?: string;
listFirstPageRoute?: string;
searchSwitch?: boolean;
queryName?: string;
rowsPerPageOptions?: number[];
rowHeight?: number;
sortBuilder?: Function;
}): {
queryName: string;
breadcrumbsProps: {
breadcrumbs: import("@genstackio/react-admin-ui/lib/types").breadcrumb_item[];
};
toolbarProps: {
searchSwitch: boolean;
onNewClick: Function | undefined;
page: {
size: number;
index: number;
previousCursors: string[];
currentCursor?: string | undefined;
};
goNew: () => void;
list: import("@genstackio/react-admin-ui/lib/types").list;
filters: any;
filterName: string;
listRoute: string;
name: string;
searchMode: boolean;
};
tableProps: {
name: string;
rowsPerPageOptions: number[] | undefined;
rowHeight: number | undefined;
page: number;
defaultRowsPerPage: number;
};
history: import("history").History;
pPage: string;
splitPCursors: string[];
page: {
size: number;
index: number;
previousCursors: string[];
currentCursor?: string | undefined;
};
setPage: import("react").Dispatch>;
list: import("@genstackio/react-admin-ui/lib/types").list;
sortModel: any[];
setSortModel: import("react").Dispatch>;
searchMode: boolean;
setSearchMode: import("react").Dispatch>;
goDoc: (id: any) => void;
goNew: () => void;
goEdit: (id: any) => void;
goPublicPage: (url: any) => void;
goPrivatePage: (url: any) => void;
onNewClick: Function | undefined;
cursor: string | undefined;
deleteDoc: any;
fetchSortVariables: any;
singularName: string;
filterName: string;
name: string;
navigationMode: string;
listRoute: string;
columns: {
id: string;
format?: any;
label?: string | undefined;
width?: number | undefined;
render?: Function | undefined;
if?: Function | undefined;
filters?: string[] | undefined;
}[] | undefined;
listFirstPageRoute: string;
key: string;
};
export default useListCommonVariables;
//# sourceMappingURL=useListCommonVariables.d.ts.map