/**
 * Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed
 * @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 { PlatformConfigSelect, PlatformConfigWithRelations, PlatformConfigFilter, PlatformConfigOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformConfigSelect, PlatformConfigWithRelations, PlatformConfigFilter, PlatformConfigOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformConfigsQueryKey: (variables?: object) => readonly ["platformconfig", "list", object];
/**
 * Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformConfigsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformConfigsQuery<S extends PlatformConfigSelect, TData = {
    platformConfigs: ConnectionResult<InferSelectResult<PlatformConfigWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformConfigFilter, PlatformConfigOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformConfigSelect>;
} & Omit<UseQueryOptions<{
    platformConfigs: ConnectionResult<InferSelectResult<PlatformConfigWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed
 *
 * @example
 * ```ts
 * const data = await fetchPlatformConfigsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformConfigsQuery<S extends PlatformConfigSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformConfigFilter, PlatformConfigOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformConfigSelect>;
}): Promise<{
    platformConfigs: ConnectionResult<InferSelectResult<PlatformConfigWithRelations, S>>;
}>;
/**
 * Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed
 *
 * @example
 * ```ts
 * await prefetchPlatformConfigsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformConfigsQuery<S extends PlatformConfigSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformConfigFilter, PlatformConfigOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformConfigSelect>;
}): Promise<void>;
