import { Mock } from 'vitest';
import { aether } from '../aether';
interface TestLeaf<T extends aether.Component> {
    component: T;
    setState: (state: any) => Promise<void>;
    delete: () => Promise<void>;
    stateChange: Mock;
}
export declare const render: <T extends aether.Component>(constructor: aether.ComponentConstructor, initialState: any, setOnContext: (ctx: aether.Context) => void) => Promise<TestLeaf<T>>;
export {};
//# sourceMappingURL=test.d.ts.map