/**
 * Global secret name registry — declares which secrets the platform recognizes. Actual values live in app_secrets.
 * @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 { SecretDefinitionSelect, SecretDefinitionWithRelations, SecretDefinitionFilter, SecretDefinitionOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { SecretDefinitionSelect, SecretDefinitionWithRelations, SecretDefinitionFilter, SecretDefinitionOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const secretDefinitionsQueryKey: (variables?: object) => readonly ["secretdefinition", "list", object];
/**
 * Global secret name registry — declares which secrets the platform recognizes. Actual values live in app_secrets.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useSecretDefinitionsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useSecretDefinitionsQuery<S extends SecretDefinitionSelect, TData = {
    secretDefinitions: ConnectionResult<InferSelectResult<SecretDefinitionWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SecretDefinitionFilter, SecretDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SecretDefinitionSelect>;
} & Omit<UseQueryOptions<{
    secretDefinitions: ConnectionResult<InferSelectResult<SecretDefinitionWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Global secret name registry — declares which secrets the platform recognizes. Actual values live in app_secrets.
 *
 * @example
 * ```ts
 * const data = await fetchSecretDefinitionsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchSecretDefinitionsQuery<S extends SecretDefinitionSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SecretDefinitionFilter, SecretDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SecretDefinitionSelect>;
}): Promise<{
    secretDefinitions: ConnectionResult<InferSelectResult<SecretDefinitionWithRelations, S>>;
}>;
/**
 * Global secret name registry — declares which secrets the platform recognizes. Actual values live in app_secrets.
 *
 * @example
 * ```ts
 * await prefetchSecretDefinitionsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchSecretDefinitionsQuery<S extends SecretDefinitionSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SecretDefinitionFilter, SecretDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SecretDefinitionSelect>;
}): Promise<void>;
