import type { EventEmitter } from './types';
export type EventListeners = Array<[any, any]>;
/**
 * Creates a new Piral app shell event emitter.
 * Uses a custom event dispatcher with a state for usage control.
 * @param state The optional state object to identify the instance.
 * @returns The event emitter.
 */
export declare function createListener(state?: any): EventEmitter;
