/**
 * Database-wide feature flags and settings; controls which platform features are available to all APIs in this database
 * @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 { DatabaseSettingSelect, DatabaseSettingWithRelations, DatabaseSettingFilter, DatabaseSettingOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { DatabaseSettingSelect, DatabaseSettingWithRelations, DatabaseSettingFilter, DatabaseSettingOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const databaseSettingsQueryKey: (variables?: object) => readonly ["databasesetting", "list", object];
/**
 * Database-wide feature flags and settings; controls which platform features are available to all APIs in this database
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useDatabaseSettingsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useDatabaseSettingsQuery<S extends DatabaseSettingSelect, TData = {
    databaseSettings: ConnectionResult<InferSelectResult<DatabaseSettingWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DatabaseSettingFilter, DatabaseSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DatabaseSettingSelect>;
} & Omit<UseQueryOptions<{
    databaseSettings: ConnectionResult<InferSelectResult<DatabaseSettingWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Database-wide feature flags and settings; controls which platform features are available to all APIs in this database
 *
 * @example
 * ```ts
 * const data = await fetchDatabaseSettingsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchDatabaseSettingsQuery<S extends DatabaseSettingSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DatabaseSettingFilter, DatabaseSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DatabaseSettingSelect>;
}): Promise<{
    databaseSettings: ConnectionResult<InferSelectResult<DatabaseSettingWithRelations, S>>;
}>;
/**
 * Database-wide feature flags and settings; controls which platform features are available to all APIs in this database
 *
 * @example
 * ```ts
 * await prefetchDatabaseSettingsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchDatabaseSettingsQuery<S extends DatabaseSettingSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DatabaseSettingFilter, DatabaseSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DatabaseSettingSelect>;
}): Promise<void>;
