import { Client } from "@liveblocks/client";
import { User } from "@supabase/supabase-js";
import { CodeGenCSSType, DraftRelease } from "web/src/data/types";
export interface AuthenticatedProjectInfo {
    type: "authenticated";
    cssType: CodeGenCSSType;
    id: string;
    truncatedId: string;
    release: DraftRelease;
    subframe_import_alias: string;
    user: User;
}
interface UnauthenticatedProjectInfo {
    type: "unauthenticated";
    cssType: CodeGenCSSType;
    release: DraftRelease;
}
export type ProjectInfo = AuthenticatedProjectInfo | UnauthenticatedProjectInfo;
export declare function getAuthenticatedProjectInfo({ liveblocksClient, truncatedProjectId, }: {
    liveblocksClient: Client;
    truncatedProjectId?: string;
}): Promise<AuthenticatedProjectInfo>;
export {};
//# sourceMappingURL=auth.d.ts.map