import { ActApp, CreateAppOptions } from './types.js'; /** * Central app factory. Resolves container, mounts root component, * and provides cleanup on destroy(). * Lifecycle hooks (onInit/onMount/onDestroy) are run by component() itself. * * @example * const app = createApp('#root').mount(MyComponent); * * // With hydration (SSR rehydration — reconciles instead of replacing): * createApp('#root', { hydrate: true }).mount(MyComponent); * * // Cleanup all timers, CSS, and onDestroy hooks: * app.destroy(); */ export declare function createApp(container: string | Element, options?: CreateAppOptions): ActApp;