import QueryOptions from '../../models/query-options';
export default function useGetOne<Model, Repository>(props: {
    resource: string;
    repository: string;
    id: string;
    fn: (repo: Repository, id: string) => Promise<Model | undefined>;
    options?: QueryOptions;
}): {
    error?: any;
    isIdle: boolean;
    loading: boolean;
    loaded: boolean;
    refetch: any;
    isFetching: boolean;
    isRefetching: boolean;
    data?: Model | undefined;
};
