/**
 * Custom query hook for orgPermissionsGetByMask
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { OrgPermissionsGetByMaskVariables } from '../../orm/query';
import type { OrgPermissionConnection } from '../../orm/input-types';
export type { OrgPermissionsGetByMaskVariables } from '../../orm/query';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgPermissionsGetByMaskQueryKey: (variables?: object) => readonly ["orgPermissionsGetByMask", object];
/**
 * Reads and enables pagination through a set of `OrgPermission`.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgPermissionsGetByMaskQuery({ variables: { after, first, mask, offset } });
 *
 * if (data?.orgPermissionsGetByMask) {
 *   console.log(data.orgPermissionsGetByMask);
 * }
 * ```
 */
export declare function useOrgPermissionsGetByMaskQuery<TData = {
    orgPermissionsGetByMask: OrgPermissionConnection | null;
}>(params?: {
    variables?: OrgPermissionsGetByMaskVariables;
} & Omit<UseQueryOptions<{
    orgPermissionsGetByMask: OrgPermissionConnection | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch orgPermissionsGetByMask without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchOrgPermissionsGetByMaskQuery({ variables: { after, first, mask, offset } });
 * ```
 */
export declare function fetchOrgPermissionsGetByMaskQuery(params?: {
    variables?: OrgPermissionsGetByMaskVariables;
}): Promise<{
    orgPermissionsGetByMask: OrgPermissionConnection | null;
}>;
/**
 * Prefetch orgPermissionsGetByMask for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchOrgPermissionsGetByMaskQuery(queryClient, { variables: { after, first, mask, offset } });
 * ```
 */
export declare function prefetchOrgPermissionsGetByMaskQuery(queryClient: QueryClient, params?: {
    variables?: OrgPermissionsGetByMaskVariables;
}): Promise<void>;
