import { JsonBasedObject, Nullable } from '../core/json-object.class';
type SpriteCallback = (blobUrl: string | null) => void;
declare enum ObjectType {
    Unknown = 0,
    Sprite = 1,
    Asset = 4,
    View = 16
}
export declare class UnnyObject extends JsonBasedObject {
    private _id;
    private _type;
    get id(): string;
    get type(): ObjectType;
    initData(): void;
    getFullUrl(): string;
    static getFileName(): string;
    loadSprite(callback: SpriteCallback): void;
    openView(callback: (success: boolean) => void, owner?: Nullable<JsonBasedObject>): void;
    static testViews: Map<string, string>;
    static setTestView(id: string, html: string): void;
}
export {};
//# sourceMappingURL=unny-object.model.d.ts.map