import type { AuthContext } from '../types.js'; export declare function checkWorkspaceAccess(auth: AuthContext, workspaceId: string): Promise<{ hasAccess: boolean; role?: string; }>; export declare function checkProjectAccess(auth: AuthContext, projectId: string): Promise<{ hasAccess: boolean; role?: string; workspaceId?: string; }>; export declare function checkFileAccess(auth: AuthContext, fileId: string): Promise<{ hasAccess: boolean; role?: string; workspaceId?: string; }>; //# sourceMappingURL=check-permissions.d.ts.map