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