interface FilterParams { skip: number; limit: number; search?: string; select?: string; order?: string; filters?: string; } interface ActivePage { sort?: { id: string; desc: boolean; }; filterQueryString?: string; search?: string; visible_columns?: { visible: boolean; accessorKey: string; }[]; } declare const useGenericDataFetcher: (cols?: ActivePage, pagination: { skip: number; limit: number; }, fetchAction: (filters: FilterParams) => void, customeFilter?: any, customDeps?: any[], showCreatedBy?: boolean, customFields?: any) => () => void; export default useGenericDataFetcher;