import { CSSProperties, h } from 'preact'; export interface ScratchCardProps { rootId?: string; rootClassName?: string; ratio?: number; moveRadius?: number; startCallback?: Function; clearCallback?: Function; coverImage?: string; coverColor?: string; coverWidth: number; coverHeight: number; coverElement?: string | CSSProperties; resultElement?: string | CSSProperties; } export declare const ScratchCard: (props: ScratchCardProps, ref: any) => h.JSX.Element;