18 lines
592 B
TypeScript
18 lines
592 B
TypeScript
import type { BorderRadiusCorners } from './border-radius';
|
|
interface BoxShadow {
|
|
offsetX: number;
|
|
offsetY: number;
|
|
blurRadius: number;
|
|
color: string;
|
|
inset: boolean;
|
|
}
|
|
export declare const parseBoxShadow: (boxShadowValue: string) => BoxShadow[];
|
|
export declare const drawBorderRadius: ({ ctx, rect, borderRadius, computedStyle, logLevel, }: {
|
|
ctx: OffscreenCanvasRenderingContext2D;
|
|
rect: DOMRect;
|
|
borderRadius: BorderRadiusCorners;
|
|
computedStyle: CSSStyleDeclaration;
|
|
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
}) => void;
|
|
export {};
|