import type { App, BaseAppConfig } from '../app';
import { type Token } from '../di';
export interface ReplEvaluation {
    output: string;
    error?: string;
}
export declare function createReplContext<C extends BaseAppConfig>(app: App<C>): Record<string, unknown>;
/** Releases the global namespace installation associated with a REPL context. */
export declare function disposeReplContext(context: Record<string, unknown>): void;
export declare function evaluateReplCode(context: Record<string, unknown>, code: string, colors?: boolean): Promise<ReplEvaluation>;
export declare function runLocalAppRepl<C extends BaseAppConfig>(app: App<C>, args: string[]): Promise<void>;
export declare function localReplUsage(): string;
export declare function tryGet<C extends BaseAppConfig, T>(app: App<C>, token: Token<T>): T | undefined;
//# sourceMappingURL=repl.d.ts.map