/**
 * Default membership settings per entity, controlling initial approval and verification state for new 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 { OrgMembershipDefaultSelect, OrgMembershipDefaultWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgMembershipDefaultSelect, OrgMembershipDefaultWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgMembershipDefaultQueryKey: (id: string | number) => readonly ["orgmembershipdefault", "detail", string | number];
/**
 * Default membership settings per entity, controlling initial approval and verification state for new members
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgMembershipDefaultQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useOrgMembershipDefaultQuery<S extends OrgMembershipDefaultSelect, TData = {
    orgMembershipDefault: InferSelectResult<OrgMembershipDefaultWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgMembershipDefaultSelect>;
} & Omit<UseQueryOptions<{
    orgMembershipDefault: InferSelectResult<OrgMembershipDefaultWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Default membership settings per entity, controlling initial approval and verification state for new members
 *
 * @example
 * ```ts
 * const data = await fetchOrgMembershipDefaultQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchOrgMembershipDefaultQuery<S extends OrgMembershipDefaultSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgMembershipDefaultSelect>;
}): Promise<{
    orgMembershipDefault: InferSelectResult<OrgMembershipDefaultWithRelations, S> | null;
}>;
/**
 * Default membership settings per entity, controlling initial approval and verification state for new members
 *
 * @example
 * ```ts
 * await prefetchOrgMembershipDefaultQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchOrgMembershipDefaultQuery<S extends OrgMembershipDefaultSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgMembershipDefaultSelect>;
}): Promise<void>;
