/// <reference types="react" />
import { EvaRefObject } from '@eva/react-eva';
import { DragonBone as DragonBoneComponent } from '@eva/plugin-renderer-dragonbone';
export declare class DragonBoneRefObject extends EvaRefObject {
    constructor(_ref: any);
    play(animationName: any, times: any): this;
    stop(animationName: any): this;
    on(eventName: any, fn: any): this;
    off(eventName: any, fn: any): this;
    once(eventName: any, fn: any): this;
}
export declare function useDragonBoneResource({ name, image, ske, tex }: {
    name: any;
    image: any;
    ske: any;
    tex: any;
}): string;
export declare function useDragonBone({ resource, armatureName, animationName, autoPlay, playTimes, }: {
    resource: any;
    armatureName: any;
    animationName: any;
    autoPlay: any;
    playTimes?: number;
}): DragonBoneComponent;
declare const DragonBone: import("react").ForwardRefExoticComponent<Pick<Record<string, any>, string> & import("react").RefAttributes<DragonBoneRefObject>>;
export default DragonBone;
