/**
 * Per-database RLS module runtime configuration; typed replacement for api_modules rls_module JSONB entries
 * @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 { RlsSettingSelect, RlsSettingWithRelations, RlsSettingFilter, RlsSettingOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { RlsSettingSelect, RlsSettingWithRelations, RlsSettingFilter, RlsSettingOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const rlsSettingsQueryKey: (variables?: object) => readonly ["rlssetting", "list", object];
/**
 * Per-database RLS module runtime configuration; typed replacement for api_modules rls_module JSONB entries
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useRlsSettingsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useRlsSettingsQuery<S extends RlsSettingSelect, TData = {
    rlsSettings: ConnectionResult<InferSelectResult<RlsSettingWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, RlsSettingFilter, RlsSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, RlsSettingSelect>;
} & Omit<UseQueryOptions<{
    rlsSettings: ConnectionResult<InferSelectResult<RlsSettingWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Per-database RLS module runtime configuration; typed replacement for api_modules rls_module JSONB entries
 *
 * @example
 * ```ts
 * const data = await fetchRlsSettingsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchRlsSettingsQuery<S extends RlsSettingSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, RlsSettingFilter, RlsSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, RlsSettingSelect>;
}): Promise<{
    rlsSettings: ConnectionResult<InferSelectResult<RlsSettingWithRelations, S>>;
}>;
/**
 * Per-database RLS module runtime configuration; typed replacement for api_modules rls_module JSONB entries
 *
 * @example
 * ```ts
 * await prefetchRlsSettingsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchRlsSettingsQuery<S extends RlsSettingSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, RlsSettingFilter, RlsSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, RlsSettingSelect>;
}): Promise<void>;
