/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 * @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 { PlatformResourceDefinitionSelect, PlatformResourceDefinitionWithRelations, PlatformResourceDefinitionFilter, PlatformResourceDefinitionOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceDefinitionSelect, PlatformResourceDefinitionWithRelations, PlatformResourceDefinitionFilter, PlatformResourceDefinitionOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformResourceDefinitionsQueryKey: (variables?: object) => readonly ["platformresourcedefinition", "list", object];
/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformResourceDefinitionsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformResourceDefinitionsQuery<S extends PlatformResourceDefinitionSelect, TData = {
    platformResourceDefinitions: ConnectionResult<InferSelectResult<PlatformResourceDefinitionWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourceDefinitionFilter, PlatformResourceDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceDefinitionSelect>;
} & Omit<UseQueryOptions<{
    platformResourceDefinitions: ConnectionResult<InferSelectResult<PlatformResourceDefinitionWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 *
 * @example
 * ```ts
 * const data = await fetchPlatformResourceDefinitionsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformResourceDefinitionsQuery<S extends PlatformResourceDefinitionSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourceDefinitionFilter, PlatformResourceDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceDefinitionSelect>;
}): Promise<{
    platformResourceDefinitions: ConnectionResult<InferSelectResult<PlatformResourceDefinitionWithRelations, S>>;
}>;
/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 *
 * @example
 * ```ts
 * await prefetchPlatformResourceDefinitionsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformResourceDefinitionsQuery<S extends PlatformResourceDefinitionSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourceDefinitionFilter, PlatformResourceDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceDefinitionSelect>;
}): Promise<void>;
