import PaginationOptions from '../../models/pagination-options';
import QueryOptions from '../../models/query-options';
import { ResourceCount } from '../../models/resource-count';
import SortOptions from '../../models/sort-options';
import UseQueryValue from '../../models/use-query-value';
type ResponseQueryValue<Model> = Omit<UseQueryValue, 'data' | 'isIdle'> & {
    data?: {
        [id: string]: Model;
    };
    isIdle?: boolean;
    ids?: string[];
};
export interface UseGetListValue<T> extends ResponseQueryValue<T> {
}
export default function useGetList<Model, Repository>(props: {
    resource: string;
    repository: string;
    filters?: any;
    pagination?: PaginationOptions;
    sort?: SortOptions;
    fn: (repo: Repository, filters?: any, pagination?: PaginationOptions, sort?: SortOptions) => Promise<Model[]>;
    countFn?: (repo: Repository, filters?: any) => Promise<ResourceCount>;
    options?: QueryOptions;
}): UseGetListValue<Model>;
export {};
