/**
 * Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated.
 * @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 { DatabaseProvisionModuleSelect, DatabaseProvisionModuleWithRelations, DatabaseProvisionModuleFilter, DatabaseProvisionModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { DatabaseProvisionModuleSelect, DatabaseProvisionModuleWithRelations, DatabaseProvisionModuleFilter, DatabaseProvisionModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const databaseProvisionModulesQueryKey: (variables?: object) => readonly ["databaseprovisionmodule", "list", object];
/**
 * Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useDatabaseProvisionModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useDatabaseProvisionModulesQuery<S extends DatabaseProvisionModuleSelect, TData = {
    databaseProvisionModules: ConnectionResult<InferSelectResult<DatabaseProvisionModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DatabaseProvisionModuleFilter, DatabaseProvisionModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DatabaseProvisionModuleSelect>;
} & Omit<UseQueryOptions<{
    databaseProvisionModules: ConnectionResult<InferSelectResult<DatabaseProvisionModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated.
 *
 * @example
 * ```ts
 * const data = await fetchDatabaseProvisionModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchDatabaseProvisionModulesQuery<S extends DatabaseProvisionModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DatabaseProvisionModuleFilter, DatabaseProvisionModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DatabaseProvisionModuleSelect>;
}): Promise<{
    databaseProvisionModules: ConnectionResult<InferSelectResult<DatabaseProvisionModuleWithRelations, S>>;
}>;
/**
 * Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated.
 *
 * @example
 * ```ts
 * await prefetchDatabaseProvisionModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchDatabaseProvisionModulesQuery<S extends DatabaseProvisionModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DatabaseProvisionModuleFilter, DatabaseProvisionModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DatabaseProvisionModuleSelect>;
}): Promise<void>;
