/**
 * 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 { OrgOwnerGrantSelect, OrgOwnerGrantWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgOwnerGrantSelect, OrgOwnerGrantWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgOwnerGrantQueryKey: (id: string | number) => readonly ["orgownergrant", "detail", string | number];
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgOwnerGrantQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useOrgOwnerGrantQuery<S extends OrgOwnerGrantSelect, TData = {
    orgOwnerGrant: InferSelectResult<OrgOwnerGrantWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgOwnerGrantSelect>;
} & Omit<UseQueryOptions<{
    orgOwnerGrant: InferSelectResult<OrgOwnerGrantWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```ts
 * const data = await fetchOrgOwnerGrantQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchOrgOwnerGrantQuery<S extends OrgOwnerGrantSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgOwnerGrantSelect>;
}): Promise<{
    orgOwnerGrant: InferSelectResult<OrgOwnerGrantWithRelations, S> | null;
}>;
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```ts
 * await prefetchOrgOwnerGrantQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchOrgOwnerGrantQuery<S extends OrgOwnerGrantSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgOwnerGrantSelect>;
}): Promise<void>;
