/**
 * 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 { ListSelectionConfig } from '../selection';
import type { PlatformConfigDefinitionSelect, PlatformConfigDefinitionWithRelations, PlatformConfigDefinitionFilter, PlatformConfigDefinitionOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformConfigDefinitionSelect, PlatformConfigDefinitionWithRelations, PlatformConfigDefinitionFilter, PlatformConfigDefinitionOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformConfigDefinitionsQueryKey: (variables?: object) => readonly ["platformconfigdefinition", "list", object];
/**
 * Registry of valid config keys — declares which config entries the platform recognizes
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformConfigDefinitionsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformConfigDefinitionsQuery<S extends PlatformConfigDefinitionSelect, TData = {
    platformConfigDefinitions: ConnectionResult<InferSelectResult<PlatformConfigDefinitionWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformConfigDefinitionFilter, PlatformConfigDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformConfigDefinitionSelect>;
} & Omit<UseQueryOptions<{
    platformConfigDefinitions: ConnectionResult<InferSelectResult<PlatformConfigDefinitionWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Registry of valid config keys — declares which config entries the platform recognizes
 *
 * @example
 * ```ts
 * const data = await fetchPlatformConfigDefinitionsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformConfigDefinitionsQuery<S extends PlatformConfigDefinitionSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformConfigDefinitionFilter, PlatformConfigDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformConfigDefinitionSelect>;
}): Promise<{
    platformConfigDefinitions: ConnectionResult<InferSelectResult<PlatformConfigDefinitionWithRelations, S>>;
}>;
/**
 * Registry of valid config keys — declares which config entries the platform recognizes
 *
 * @example
 * ```ts
 * await prefetchPlatformConfigDefinitionsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformConfigDefinitionsQuery<S extends PlatformConfigDefinitionSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformConfigDefinitionFilter, PlatformConfigDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformConfigDefinitionSelect>;
}): Promise<void>;
