import type { RequireMember } from "./types"; /** * Build `ctx.requireMember(orgId, opts)` bound to a membership `read`. Errors * carry `.code` (UNAUTHENTICATED / MISSING_ORG / FORBIDDEN) the same way * `ctx.error` does — self-contained so it also works on the query ctx, which * has no `ctx.error`. */ export declare function makeRequireMember(userId: string | null | undefined, read: (entity: string, filter: Record) => Promise): RequireMember;