/**
 * List query hook for IdentityProvider
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ListSelectionConfig } from '../selection';
import type { IdentityProviderSelect, IdentityProviderWithRelations, IdentityProviderFilter, IdentityProviderOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { IdentityProviderSelect, IdentityProviderWithRelations, IdentityProviderFilter, IdentityProviderOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const identityProvidersQueryKey: (variables?: object) => readonly ["identityprovider", "list", object];
/**
 * Query hook for fetching IdentityProvider list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useIdentityProvidersQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useIdentityProvidersQuery<S extends IdentityProviderSelect, TData = {
    identityProviders: ConnectionResult<InferSelectResult<IdentityProviderWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, IdentityProviderFilter, IdentityProviderOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IdentityProviderSelect>;
} & Omit<UseQueryOptions<{
    identityProviders: ConnectionResult<InferSelectResult<IdentityProviderWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch IdentityProvider list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchIdentityProvidersQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchIdentityProvidersQuery<S extends IdentityProviderSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, IdentityProviderFilter, IdentityProviderOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IdentityProviderSelect>;
}): Promise<{
    identityProviders: ConnectionResult<InferSelectResult<IdentityProviderWithRelations, S>>;
}>;
/**
 * Prefetch IdentityProvider list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchIdentityProvidersQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchIdentityProvidersQuery<S extends IdentityProviderSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, IdentityProviderFilter, IdentityProviderOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IdentityProviderSelect>;
}): Promise<void>;
