UNPKG

@zeplin/extension-model

Version:

Models exposed to Zeplin extensions

25 lines (24 loc) 660 B
type BlurType = "background" | "gaussian"; export interface BlurData { type: BlurType; radius: number; } export declare const BLUR_TYPES: Record<string, BlurType>; /** * A class to represent the blur effect applied to a {@link Layer} */ export declare class Blur { /** * Type of the blur effect. It can be either "gaussian" or "background". */ type: BlurType; /** * Radius of the blur effect. It is a positive integer. */ radius: number; static get TYPE(): typeof BLUR_TYPES; static get ALLOWED_FIELDS(): string[]; constructor(blurData: BlurData); static fromJSON(json: string): Blur; } export {};