/**
 * Single item query hook for PlatformSecret
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { PlatformSecretSelect, PlatformSecretWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformSecretSelect, PlatformSecretWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformSecretQueryKey: (id: string | number) => readonly ["platformsecret", "detail", string | number];
/**
 * Query hook for fetching a single PlatformSecret
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformSecretQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformSecretQuery<S extends PlatformSecretSelect, TData = {
    platformSecret: InferSelectResult<PlatformSecretWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformSecretSelect>;
} & Omit<UseQueryOptions<{
    platformSecret: InferSelectResult<PlatformSecretWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single PlatformSecret without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchPlatformSecretQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformSecretQuery<S extends PlatformSecretSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformSecretSelect>;
}): Promise<{
    platformSecret: InferSelectResult<PlatformSecretWithRelations, S> | null;
}>;
/**
 * Prefetch a single PlatformSecret for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchPlatformSecretQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformSecretQuery<S extends PlatformSecretSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformSecretSelect>;
}): Promise<void>;
