type AttrMap = Record<string, any>;
declare class MockNode {
    protected attrs: AttrMap;
    protected children: MockNode[];
    protected listeners: Map<string, ((event: any) => void)[]>;
    constructor(attrs?: AttrMap);
    name(value?: string): any;
    x(value?: number): any;
    y(value?: number): any;
    width(value?: number): any;
    height(value?: number): any;
    visible(value?: boolean): any;
    fill(value?: string): any;
    stroke(value?: string): any;
    strokeWidth(value?: number): any;
    fillEnabled(value?: boolean): any;
    dash(value?: number[]): any;
    cornerRadius(value?: number): any;
    text(value?: string): any;
    ellipsis(value?: boolean): any;
    lineHeight(value?: number): any;
    wrap(value?: string): any;
    points(value?: number[]): any;
    setAttr(key: string, value: any): void;
    getAttr(key: string): any;
    add(child: MockNode): this;
    on(eventName: string, handler: (event: any) => void): this;
    off(eventName: string, handler?: (event: any) => void): this;
    fire(eventName: string, event: any): this;
    getChildren(): MockNode[];
    destroyChildren(): void;
    clip(value?: {
        x: number;
        y: number;
        width: number;
        height: number;
    }): any;
    clipWidth(): number;
    clipHeight(): number;
    container(): any;
    batchDraw(): this;
    draw(): this;
    destroy(): void;
    findOne(selector: string): MockNode | undefined;
    find(selector: string): MockNode[];
    getClassName(): string;
}
declare class MockGroup extends MockNode {
}
declare class MockLayer extends MockGroup {
}
declare class MockRect extends MockNode {
}
declare class MockText extends MockNode {
}
declare class MockLine extends MockNode {
}
declare class MockImage extends MockNode {
}
declare class MockRegularPolygon extends MockNode {
}
declare class MockStage extends MockNode {
}
declare class MockTween {
    private readonly config;
    constructor(config: Record<string, any>);
    play(): void;
}
export declare function createKonvaMock(): {
    Group: typeof MockGroup;
    Layer: typeof MockLayer;
    Rect: typeof MockRect;
    Text: typeof MockText;
    Line: typeof MockLine;
    Image: typeof MockImage;
    RegularPolygon: typeof MockRegularPolygon;
    Stage: typeof MockStage;
    Tween: typeof MockTween;
    Easings: {
        EaseInOut: string;
    };
};
export {};
