/**
 * Single item 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 { OrgApiKeyListSelect, OrgApiKeyListWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgApiKeyListSelect, OrgApiKeyListWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgApiKeyListQueryKey: (id: string | number) => readonly ["orgapikeylist", "detail", string | number];
/**
 * Query hook for fetching a single OrgApiKeyList
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgApiKeyListQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useOrgApiKeyListQuery<S extends OrgApiKeyListSelect, TData = {
    orgApiKeyList: InferSelectResult<OrgApiKeyListWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgApiKeyListSelect>;
} & Omit<UseQueryOptions<{
    orgApiKeyList: InferSelectResult<OrgApiKeyListWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single OrgApiKeyList without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchOrgApiKeyListQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchOrgApiKeyListQuery<S extends OrgApiKeyListSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgApiKeyListSelect>;
}): Promise<{
    orgApiKeyList: InferSelectResult<OrgApiKeyListWithRelations, S> | null;
}>;
/**
 * Prefetch a single OrgApiKeyList for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchOrgApiKeyListQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchOrgApiKeyListQuery<S extends OrgApiKeyListSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgApiKeyListSelect>;
}): Promise<void>;
