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