import type { RGB, Node } from "@figma/rest-api-spec"; import type { FigmaNode, ImageType } from "../../types"; export declare const colorToCss: (color: RGB, opacity?: number) => string; type StyleOptions = { excludeWidth?: boolean; excludeHeight?: boolean; excludeBorder?: boolean; excludeShadow?: boolean; excludeMargin?: boolean; excludeBackground?: boolean; excludeColor?: boolean; excludeOpacity?: boolean; }; export declare const commonStyles: (node: FigmaNode, options: StyleOptions | undefined, isTopLevel: boolean) => { [key: string]: string; }; export declare const generateClassName: (prefix: string) => string; export declare const generateCSS: (styles: { [key: string]: string; }, className: string) => string; export declare const uuid: () => string; export declare const sanitizeName: (name: string) => string; export declare function roundToHalf(value: number): number; export declare function replaceSrcIdentifiers(html: string, images: { [key: string]: string; }): string; export declare function wrapNode(nodeData: Node): FigmaNode; export declare function htmlTemplate(html: string, css: string): string; export declare function formatBase64(base64: string, format: ImageType): string; export {}; //# sourceMappingURL=common.d.ts.map