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