import { NextRequest, NextResponse } from "next/server"; export interface TeamsAuthContext { workspaceId: string; userId: string; user: any; } /** * Validates that the current user is authenticated and has ADMIN or OWNER role * for their current workspace (as determined by session). * * Returns the context if authorized, or a NextResponse error if not. */ export declare function requireWorkspaceAdmin(req: NextRequest): Promise; //# sourceMappingURL=auth.d.ts.map