import { LookupOption } from './lookupSetter';

export declare function useRecordByPage(modalName: string, pageSize?: number): {
    recordOptions: LookupOption[];
    loading: boolean;
    hasMore: boolean;
    handleSearch: (searchText: string) => void;
    nextPage: () => void;
};
