import type { MasterPatternViewEntity } from '../types/service.types'; import type { MasterPatternViewService } from '../types/service.types'; import type { MasterPatternViewPermissions } from '../types/permissions.types'; import type { ToastCallback } from './useToast'; export interface UseMasterListOptions { service: MasterPatternViewService; entityName?: string; autoLoad?: boolean; defaultFiltersOpen?: boolean; permissions?: MasterPatternViewPermissions; masterType?: 'UNIVERSAL' | 'COMPANY_SPECIFIC' | 'GLOBAL'; toast?: ToastCallback; showInternalToasts?: boolean; mode?: 'pages' | 'infinite'; /** Translation function — used for toast messages. Falls back to built-in Spanish strings. */ t?: (key: string, defaultValue?: string) => string; } export declare function useMasterList({ service, entityName, autoLoad, defaultFiltersOpen, permissions, masterType, toast, showInternalToasts, mode, t, }: UseMasterListOptions): { fetchNextPage: (options?: import("@tanstack/query-core").FetchNextPageOptions) => Promise, unknown>, Error>>; hasNextPage: boolean; isFetchingNextPage: boolean; }; //# sourceMappingURL=useMasterList.d.ts.map