/**
 * Registry of valid config keys — declares which config entries the platform recognizes
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { PlatformConfigDefinitionSelect, PlatformConfigDefinitionWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformConfigDefinitionSelect, PlatformConfigDefinitionWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformConfigDefinitionQueryKey: (id: string | number) => readonly ["platformconfigdefinition", "detail", string | number];
/**
 * Registry of valid config keys — declares which config entries the platform recognizes
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformConfigDefinitionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformConfigDefinitionQuery<S extends PlatformConfigDefinitionSelect, TData = {
    platformConfigDefinition: InferSelectResult<PlatformConfigDefinitionWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformConfigDefinitionSelect>;
} & Omit<UseQueryOptions<{
    platformConfigDefinition: InferSelectResult<PlatformConfigDefinitionWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Registry of valid config keys — declares which config entries the platform recognizes
 *
 * @example
 * ```ts
 * const data = await fetchPlatformConfigDefinitionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformConfigDefinitionQuery<S extends PlatformConfigDefinitionSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformConfigDefinitionSelect>;
}): Promise<{
    platformConfigDefinition: InferSelectResult<PlatformConfigDefinitionWithRelations, S> | null;
}>;
/**
 * Registry of valid config keys — declares which config entries the platform recognizes
 *
 * @example
 * ```ts
 * await prefetchPlatformConfigDefinitionQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformConfigDefinitionQuery<S extends PlatformConfigDefinitionSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformConfigDefinitionSelect>;
}): Promise<void>;
