import type { Intent, IntentResult } from '../core/ActivityManager.js';
export interface ActivityDetail {
    intent: Intent;
}
export interface ActivityWithResultDetail {
    intent: Intent;
    onResult(result: IntentResult, intent: Intent): void;
}
declare const _default: {
    /**
     * Starts an activity with the given intent.
     * The started activity does not expect a result.
     * @param intent The intent to start.
     * @param target Optional events target on which to dispatch the event.
     */
    startActivity: (intent: Intent, target?: EventTarget) => void;
    /**
     * Starts an activity with the given intent.
     * The started activity expects a result.
     * @param intent The intent to start.
     * @param target Optional events target on which to dispatch the event.
     */
    startActivityForResult: (intent: Intent, onResult: (result: IntentResult, intent: Intent) => void, target?: EventTarget) => void;
};
export default _default;
//# sourceMappingURL=IntentEvents.d.ts.map