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