/**
 * 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 { ListSelectionConfig } from '../selection';
import type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, OrgMembershipSettingFilter, OrgMembershipSettingOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, OrgMembershipSettingFilter, OrgMembershipSettingOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgMembershipSettingsQueryKey: (variables?: object) => readonly ["orgmembershipsetting", "list", object];
/**
 * Per-entity settings for the memberships module
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgMembershipSettingsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useOrgMembershipSettingsQuery<S extends OrgMembershipSettingSelect, TData = {
    orgMembershipSettings: ConnectionResult<InferSelectResult<OrgMembershipSettingWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgMembershipSettingFilter, OrgMembershipSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
} & Omit<UseQueryOptions<{
    orgMembershipSettings: ConnectionResult<InferSelectResult<OrgMembershipSettingWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Per-entity settings for the memberships module
 *
 * @example
 * ```ts
 * const data = await fetchOrgMembershipSettingsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchOrgMembershipSettingsQuery<S extends OrgMembershipSettingSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgMembershipSettingFilter, OrgMembershipSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
}): Promise<{
    orgMembershipSettings: ConnectionResult<InferSelectResult<OrgMembershipSettingWithRelations, S>>;
}>;
/**
 * Per-entity settings for the memberships module
 *
 * @example
 * ```ts
 * await prefetchOrgMembershipSettingsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchOrgMembershipSettingsQuery<S extends OrgMembershipSettingSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgMembershipSettingFilter, OrgMembershipSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
}): Promise<void>;
