import type { StudioUser } from "./auth.js";
export interface StudioRequestContext {
    readonly user: StudioUser;
    readonly projectRoot: string;
    readonly isAdmin: boolean;
}
export interface TenantRuntimeOptions {
    readonly dataRoot: string;
}
export declare class TenantRuntime {
    private readonly options;
    constructor(options: TenantRuntimeOptions);
    projectRootFor(userId: string): string;
    resolveContext(user: StudioUser): Promise<StudioRequestContext>;
}
export declare function ensureTenantProjectInitialized(projectRoot: string): Promise<void>;
//# sourceMappingURL=tenant.d.ts.map