/**
 * List query hook for PlatformSecret
 * @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 { PlatformSecretSelect, PlatformSecretWithRelations, PlatformSecretFilter, PlatformSecretOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformSecretSelect, PlatformSecretWithRelations, PlatformSecretFilter, PlatformSecretOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformSecretsQueryKey: (variables?: object) => readonly ["platformsecret", "list", object];
/**
 * Query hook for fetching PlatformSecret list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformSecretsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformSecretsQuery<S extends PlatformSecretSelect, TData = {
    platformSecrets: ConnectionResult<InferSelectResult<PlatformSecretWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformSecretFilter, PlatformSecretOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformSecretSelect>;
} & Omit<UseQueryOptions<{
    platformSecrets: ConnectionResult<InferSelectResult<PlatformSecretWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch PlatformSecret list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchPlatformSecretsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformSecretsQuery<S extends PlatformSecretSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformSecretFilter, PlatformSecretOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformSecretSelect>;
}): Promise<{
    platformSecrets: ConnectionResult<InferSelectResult<PlatformSecretWithRelations, S>>;
}>;
/**
 * Prefetch PlatformSecret list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchPlatformSecretsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformSecretsQuery<S extends PlatformSecretSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformSecretFilter, PlatformSecretOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformSecretSelect>;
}): Promise<void>;
