/**
 * Stores the default permission bitmask assigned to new members upon joining
 * @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 { AppPermissionDefaultSelect, AppPermissionDefaultWithRelations, AppPermissionDefaultFilter, AppPermissionDefaultOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppPermissionDefaultSelect, AppPermissionDefaultWithRelations, AppPermissionDefaultFilter, AppPermissionDefaultOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appPermissionDefaultsQueryKey: (variables?: object) => readonly ["apppermissiondefault", "list", object];
/**
 * Stores the default permission bitmask assigned to new members upon joining
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppPermissionDefaultsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppPermissionDefaultsQuery<S extends AppPermissionDefaultSelect, TData = {
    appPermissionDefaults: ConnectionResult<InferSelectResult<AppPermissionDefaultWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppPermissionDefaultFilter, AppPermissionDefaultOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppPermissionDefaultSelect>;
} & Omit<UseQueryOptions<{
    appPermissionDefaults: ConnectionResult<InferSelectResult<AppPermissionDefaultWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Stores the default permission bitmask assigned to new members upon joining
 *
 * @example
 * ```ts
 * const data = await fetchAppPermissionDefaultsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppPermissionDefaultsQuery<S extends AppPermissionDefaultSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppPermissionDefaultFilter, AppPermissionDefaultOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppPermissionDefaultSelect>;
}): Promise<{
    appPermissionDefaults: ConnectionResult<InferSelectResult<AppPermissionDefaultWithRelations, S>>;
}>;
/**
 * Stores the default permission bitmask assigned to new members upon joining
 *
 * @example
 * ```ts
 * await prefetchAppPermissionDefaultsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppPermissionDefaultsQuery<S extends AppPermissionDefaultSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppPermissionDefaultFilter, AppPermissionDefaultOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppPermissionDefaultSelect>;
}): Promise<void>;
