/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { OrgInviteSelect, OrgInviteWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgInviteSelect, OrgInviteWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgInviteQueryKey: (id: string | number) => readonly ["orginvite", "detail", string | number];
/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgInviteQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useOrgInviteQuery<S extends OrgInviteSelect, TData = {
    orgInvite: InferSelectResult<OrgInviteWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgInviteSelect>;
} & Omit<UseQueryOptions<{
    orgInvite: InferSelectResult<OrgInviteWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 *
 * @example
 * ```ts
 * const data = await fetchOrgInviteQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchOrgInviteQuery<S extends OrgInviteSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgInviteSelect>;
}): Promise<{
    orgInvite: InferSelectResult<OrgInviteWithRelations, S> | null;
}>;
/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 *
 * @example
 * ```ts
 * await prefetchOrgInviteQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchOrgInviteQuery<S extends OrgInviteSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgInviteSelect>;
}): Promise<void>;
