/**
 * List query hook for OrgApiKeyList
 * @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 { OrgApiKeyListSelect, OrgApiKeyListWithRelations, OrgApiKeyListFilter, OrgApiKeyListOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgApiKeyListSelect, OrgApiKeyListWithRelations, OrgApiKeyListFilter, OrgApiKeyListOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgApiKeyListsQueryKey: (variables?: object) => readonly ["orgapikeylist", "list", object];
/**
 * Query hook for fetching OrgApiKeyList list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgApiKeyListsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useOrgApiKeyListsQuery<S extends OrgApiKeyListSelect, TData = {
    orgApiKeyLists: ConnectionResult<InferSelectResult<OrgApiKeyListWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgApiKeyListFilter, OrgApiKeyListOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgApiKeyListSelect>;
} & Omit<UseQueryOptions<{
    orgApiKeyLists: ConnectionResult<InferSelectResult<OrgApiKeyListWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch OrgApiKeyList list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchOrgApiKeyListsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchOrgApiKeyListsQuery<S extends OrgApiKeyListSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgApiKeyListFilter, OrgApiKeyListOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgApiKeyListSelect>;
}): Promise<{
    orgApiKeyLists: ConnectionResult<InferSelectResult<OrgApiKeyListWithRelations, S>>;
}>;
/**
 * Prefetch OrgApiKeyList list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchOrgApiKeyListsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchOrgApiKeyListsQuery<S extends OrgApiKeyListSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgApiKeyListFilter, OrgApiKeyListOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgApiKeyListSelect>;
}): Promise<void>;
