import type { Background } from '../ricos-schema/next-schema/index.js';
export declare const PAGE_SIZE_PRESETS: {
    readonly FLUID: {
        readonly width: 900;
    };
    readonly A4: {
        readonly width: 900;
        readonly height: number;
    };
    readonly LETTER: {
        readonly width: 900;
        readonly height: number;
    };
    readonly LEGAL: {
        readonly width: 900;
        readonly height: number;
    };
    readonly SQUARE: {
        readonly width: 900;
        readonly height: 900;
    };
};
export type PageFormatName = keyof typeof PAGE_SIZE_PRESETS;
export declare const PAGE_FORMAT_TO_MM: Record<PageFormatName, {
    widthMm: number;
    heightMm?: number;
}>;
export declare const getPageSizeByFormat: (format: string | undefined) => {
    width: number;
    height?: number;
};
export declare const CARD_DEFAULTS: {
    readonly width: 900;
    readonly height: number;
    readonly padding: readonly [40, 40, 40, 40];
};
export declare const CARD_OVERFLOW_MESSAGE = "Content exceeds page boundary";
export declare const isTransparentCardBackgroundColor: (color: string | undefined) => boolean;
export declare const getCardBackgroundColorCssVar: (background: Background | undefined, hasExplicitBackground: boolean) => string | undefined;
//# sourceMappingURL=shared-with-viewer.d.ts.map