/**
 * App-level plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { PlatformConfigSelect, PlatformConfigWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformConfigSelect, PlatformConfigWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformConfigQueryKey: (id: string | number) => readonly ["platformconfig", "detail", string | number];
/**
 * App-level plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformConfigQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformConfigQuery<S extends PlatformConfigSelect, TData = {
    platformConfig: InferSelectResult<PlatformConfigWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformConfigSelect>;
} & Omit<UseQueryOptions<{
    platformConfig: InferSelectResult<PlatformConfigWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * App-level plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed
 *
 * @example
 * ```ts
 * const data = await fetchPlatformConfigQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformConfigQuery<S extends PlatformConfigSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformConfigSelect>;
}): Promise<{
    platformConfig: InferSelectResult<PlatformConfigWithRelations, S> | null;
}>;
/**
 * App-level plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed
 *
 * @example
 * ```ts
 * await prefetchPlatformConfigQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformConfigQuery<S extends PlatformConfigSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformConfigSelect>;
}): Promise<void>;
