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