export interface SwipeTransition {
    opacity?: number;
    rotate?: number;
    scale?: number | [number, number];
    translate?: [number, number];
    bc?: string;
    timing?: [number, number];
}
export interface SwipeLoop {
    style: "vibrate" | "blink" | "wiggle" | "spin" | "shift" | "bounce" | "pulse";
    count?: number;
    delta?: number;
    duration?: number;
    direction?: "n" | "s" | "e" | "w";
    clockwise?: boolean;
}
export interface SwipeShadow {
    color?: string;
    offset?: [number, number];
    opacity?: number;
    radius?: number;
}
export interface SwipeElement {
    id?: string;
    x?: number | string;
    y?: number | string;
    w?: number | string;
    h?: number | string;
    pos?: [number | string, number | string];
    bc?: string;
    opacity?: number;
    rotate?: number;
    scale?: number | [number, number];
    translate?: [number, number];
    cornerRadius?: number;
    borderWidth?: number;
    borderColor?: string;
    shadow?: SwipeShadow;
    clip?: boolean;
    text?: string;
    fontSize?: number | string;
    fontWeight?: string;
    textColor?: string;
    textAlign?: "center" | "left" | "right";
    lineHeight?: number | string;
    img?: string;
    imgFit?: "contain" | "cover" | "fill";
    to?: SwipeTransition;
    loop?: SwipeLoop;
    elements?: SwipeElement[];
}
/** Generate HTML from Swipe elements */
export declare const swipeElementsToHtml: (elements: SwipeElement[]) => string;
/** Generate render() script from Swipe element animations */
export declare const swipeElementsToScript: (elements: SwipeElement[]) => string;
