/**
 * Logical namespace containers for grouping secrets, config, functions, and other resources
 * @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 { PlatformNamespaceSelect, PlatformNamespaceWithRelations, PlatformNamespaceFilter, PlatformNamespaceOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformNamespaceSelect, PlatformNamespaceWithRelations, PlatformNamespaceFilter, PlatformNamespaceOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformNamespacesQueryKey: (variables?: object) => readonly ["platformnamespace", "list", object];
/**
 * Logical namespace containers for grouping secrets, config, functions, and other resources
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformNamespacesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformNamespacesQuery<S extends PlatformNamespaceSelect, TData = {
    platformNamespaces: ConnectionResult<InferSelectResult<PlatformNamespaceWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformNamespaceFilter, PlatformNamespaceOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformNamespaceSelect>;
} & Omit<UseQueryOptions<{
    platformNamespaces: ConnectionResult<InferSelectResult<PlatformNamespaceWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Logical namespace containers for grouping secrets, config, functions, and other resources
 *
 * @example
 * ```ts
 * const data = await fetchPlatformNamespacesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformNamespacesQuery<S extends PlatformNamespaceSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformNamespaceFilter, PlatformNamespaceOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformNamespaceSelect>;
}): Promise<{
    platformNamespaces: ConnectionResult<InferSelectResult<PlatformNamespaceWithRelations, S>>;
}>;
/**
 * Logical namespace containers for grouping secrets, config, functions, and other resources
 *
 * @example
 * ```ts
 * await prefetchPlatformNamespacesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformNamespacesQuery<S extends PlatformNamespaceSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformNamespaceFilter, PlatformNamespaceOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformNamespaceSelect>;
}): Promise<void>;
