/**
 * 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 { AppPermissionDefaultSelect, AppPermissionDefaultWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppPermissionDefaultSelect, AppPermissionDefaultWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appPermissionDefaultQueryKey: (id: string | number) => readonly ["apppermissiondefault", "detail", string | number];
/**
 * Stores the default permission bitmask assigned to new members upon joining
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppPermissionDefaultQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAppPermissionDefaultQuery<S extends AppPermissionDefaultSelect, TData = {
    appPermissionDefault: InferSelectResult<AppPermissionDefaultWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppPermissionDefaultSelect>;
} & Omit<UseQueryOptions<{
    appPermissionDefault: InferSelectResult<AppPermissionDefaultWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Stores the default permission bitmask assigned to new members upon joining
 *
 * @example
 * ```ts
 * const data = await fetchAppPermissionDefaultQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAppPermissionDefaultQuery<S extends AppPermissionDefaultSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppPermissionDefaultSelect>;
}): Promise<{
    appPermissionDefault: InferSelectResult<AppPermissionDefaultWithRelations, S> | null;
}>;
/**
 * Stores the default permission bitmask assigned to new members upon joining
 *
 * @example
 * ```ts
 * await prefetchAppPermissionDefaultQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAppPermissionDefaultQuery<S extends AppPermissionDefaultSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppPermissionDefaultSelect>;
}): Promise<void>;
