import type { PreviewRuntimeSession } from "../../auth-contract";
export type SiteStyleAccess = Readonly<{
    kind: "hidden";
}> | Readonly<{
    kind: "preview-only";
}> | Readonly<{
    kind: "apply-allowed";
}>;
export type VisibleSiteStyleAccess = Extract<SiteStyleAccess, Readonly<{
    kind: "preview-only" | "apply-allowed";
}>>;
export declare function resolveSiteStyleAccess(session: PreviewRuntimeSession | null): SiteStyleAccess;
export declare function canInspectSiteStyle(access: SiteStyleAccess): access is VisibleSiteStyleAccess;
export declare function canApplySiteStyle(access: VisibleSiteStyleAccess): access is Extract<VisibleSiteStyleAccess, Readonly<{
    kind: "apply-allowed";
}>>;
