import { type ComposeEmbeddedAgentRuntimeOptions, type ComposeEmbeddedAgentRuntimeResult } from './index.js';
import { OutOfCreditsError } from './out-of-credits-error.js';
export declare class EditTargetUnresolvedError extends Error {
    /** Build the error with the unresolved target entry id baked into the message. */
    constructor(targetEntryId: string);
}
/**
 * Thrown by `submit()` when the credit gate refuses the next turn (user is
 * out of credits). Defense-in-depth: the host's `checkCreditGate`
 * normally halts before reaching the runtime, so this fires only when the
 * host gate is bypassed or stale. Hosts should catch and surface an
 * out-of-credits UI (e.g. the existing team-out-of-credits modal).
 */
export { OutOfCreditsError };
/** Internal composition root that wires every embedded-runtime subsystem and returns the public facade. */
export declare function composeEmbeddedAgentRuntimeInternal(options: ComposeEmbeddedAgentRuntimeOptions): Promise<ComposeEmbeddedAgentRuntimeResult>;
//# sourceMappingURL=compose.d.ts.map