import { Queryable, SpriteProperties, SpritePosition, BlockProperties, SB3ProjectJSON } from './abstracts'; export { BlockShapes } from './block-shapes'; export declare class ScratchProject { /** * The project JSON as read from the project. */ projectJSON: SB3ProjectJSON; constructor(projectJSON: SB3ProjectJSON | JSON); prop(property: string): any; sprites(selector?: string): SpriteCollection; stage(): Sprite; blocks(): BlockCollection; } export declare class SpriteCollection implements Queryable { constructor(sprites: Iterable); first(): Sprite; propsIterable(): Iterable; prop(attribute: string): any; query(selector: string): SpriteCollection; [Symbol.iterator](): Iterator; } export declare class Sprite extends SpriteCollection { constructor(sprite: SpriteProperties); prop(property: string): any; position(): SpritePosition; blocks(query?: string): BlockCollection; broadcasts(): Record; lists(): Record; } export declare class BlockCollection implements Queryable { constructor(blocks: Iterable); propsIterable(): Iterable; top(): BlockCollection; first(): Block; props(): BlockProperties; byId(id: string): Block; query(selector: string): BlockCollection; [Symbol.iterator](): Iterator; } export declare class Block extends BlockCollection { constructor(block: BlockProperties); prop(property: string): any; } export declare const loadSb3: (source: string) => Promise; export declare const loadProjectJson: (source: string) => Promise; export declare const loadCloudId: (cloudId: number) => Promise;