/**
 * Bootstrap module for single-token SDK initialization.
 *
 * Usage:
 * ```typescript
 * import { Syntro } from '@syntrologie/runtime-sdk';
 *
 * const { canvas, runtime } = await Syntro.init({
 *   token: "syn_eyJ2IjoxLCJleHAiOnsiayI6InNkay14eHgiLCJwIjoiZ3Jvd3RoYm9vayJ9fQ"
 * });
 *
 * // Access runtime providers
 * runtime.telemetry?.trackAction(...);
 * runtime.context.subscribe((ctx, prev) => { ... });
 * runtime.events.subscribe({ names: ['ui.click'] }, (event) => { ... });
 * runtime.state.dismissals.mark('my-tile');
 * ```
 */
import type { appRegistry } from './apps';
import type { SmartCanvasRuntime } from './runtime';
import { decodeToken, encodeToken } from './token';
export { collectBrowserMetadata, fetchGeo } from './bootstrap-init';
export type { SyntroInitOptions, SyntroInitResult } from './bootstrap-types';
/**
 * Initialize the Syntro SDK with a single token.
 *
 * Environment variable overrides (for dev):
 *   SYNTRO_EXPERIMENT_HOST - Override experiment server URL
 *   SYNTRO_TELEMETRY_HOST  - Override telemetry server URL
 *
 * In editor mode (when editor_token is in URL), the token is optional.
 * The editor SDK handles its own authentication.
 *
 * @param options - Initialization options
 * @returns The initialized SDK components
 */
declare function init(options: import('./bootstrap-types').SyntroInitOptions): Promise<import('./bootstrap-types').SyntroInitResult | undefined>;
/**
 * Emit a custom event through the SDK.
 *
 * Events flow through the EventBus (tile notification rule matching)
 * and PostHog (analytics). Event names must use the `app:` prefix.
 *
 * @param eventName - Event name (e.g., 'app:setup:sdk_connected')
 * @param props - Optional event properties
 */
declare function emit(eventName: string, props?: Record<string, unknown>): void;
/**
 * The Syntro namespace for single-token initialization.
 */
export declare const Syntro: {
    init: typeof init;
    encodeToken: typeof encodeToken;
    decodeToken: typeof decodeToken;
    events: {
        emit: typeof emit;
    };
};
declare global {
    interface Window {
        Syntro?: typeof Syntro;
        SynOS?: {
            appRegistry: typeof appRegistry;
            runtime: SmartCanvasRuntime;
            version: string;
        };
    }
}
