/**
 * Per-entity settings for the memberships module
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgMembershipSettingQueryKey: (id: string | number) => readonly ["orgmembershipsetting", "detail", string | number];
/**
 * Per-entity settings for the memberships module
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgMembershipSettingQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useOrgMembershipSettingQuery<S extends OrgMembershipSettingSelect, TData = {
    orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
} & Omit<UseQueryOptions<{
    orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Per-entity settings for the memberships module
 *
 * @example
 * ```ts
 * const data = await fetchOrgMembershipSettingQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchOrgMembershipSettingQuery<S extends OrgMembershipSettingSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
}): Promise<{
    orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S> | null;
}>;
/**
 * Per-entity settings for the memberships module
 *
 * @example
 * ```ts
 * await prefetchOrgMembershipSettingQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchOrgMembershipSettingQuery<S extends OrgMembershipSettingSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
}): Promise<void>;
