/**
 * Records of ownership transfers and grants between members
 * @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 { AppOwnerGrantSelect, AppOwnerGrantWithRelations, AppOwnerGrantFilter, AppOwnerGrantOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppOwnerGrantSelect, AppOwnerGrantWithRelations, AppOwnerGrantFilter, AppOwnerGrantOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appOwnerGrantsQueryKey: (variables?: object) => readonly ["appownergrant", "list", object];
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppOwnerGrantsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppOwnerGrantsQuery<S extends AppOwnerGrantSelect, TData = {
    appOwnerGrants: ConnectionResult<InferSelectResult<AppOwnerGrantWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppOwnerGrantFilter, AppOwnerGrantOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppOwnerGrantSelect>;
} & Omit<UseQueryOptions<{
    appOwnerGrants: ConnectionResult<InferSelectResult<AppOwnerGrantWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```ts
 * const data = await fetchAppOwnerGrantsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppOwnerGrantsQuery<S extends AppOwnerGrantSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppOwnerGrantFilter, AppOwnerGrantOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppOwnerGrantSelect>;
}): Promise<{
    appOwnerGrants: ConnectionResult<InferSelectResult<AppOwnerGrantWithRelations, S>>;
}>;
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```ts
 * await prefetchAppOwnerGrantsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppOwnerGrantsQuery<S extends AppOwnerGrantSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppOwnerGrantFilter, AppOwnerGrantOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppOwnerGrantSelect>;
}): Promise<void>;
