/**
 * Prefix applied to every Lisa-owned Codex agent name. Provides
 * defense-in-depth on top of the directory-based ownership boundary
 * (`.codex/agents/lisa/`); makes it unambiguous in transcripts/logs which
 * agents Lisa manages.
 */
export declare const LISA_AGENT_NAME_PREFIX = "lisa-";
/** Keys recognized in Lisa agent YAML frontmatter */
interface AgentFrontmatter {
    readonly name: string;
    readonly description: string;
    readonly tools?: string;
    readonly model?: string;
    readonly skills?: readonly string[];
}
/** Result of parsing a Lisa agent Markdown file */
export interface ParsedAgent {
    readonly frontmatter: AgentFrontmatter;
    readonly body: string;
}
/** Options controlling TOML emission */
export interface AgentTransformOptions {
    /**
     * Whether to apply the `lisa-` name prefix. Defaults to true; set false for
     * tests or for agents the consumer wants to expose without a Lisa namespace.
     */
    readonly applyNamePrefix?: boolean;
}
/**
 * Parse a Lisa agent Markdown source string into frontmatter + body.
 *
 * Throws on missing/malformed frontmatter or missing required fields, since
 * these would silently produce broken Codex agent files otherwise.
 * @param source - Raw contents of an agent .md file
 * @returns Parsed frontmatter and body
 */
export declare function parseAgentMarkdown(source: string): ParsedAgent;
/**
 * Transform a parsed agent into the Codex TOML representation as a string.
 * @param parsed - Output of parseAgentMarkdown
 * @param options - Transform options
 * @returns Serialized TOML matching Codex's `RawAgentRoleFileToml` schema
 */
export declare function transformAgentToToml(parsed: ParsedAgent, options?: AgentTransformOptions): string;
/**
 * One-shot helper: parse + transform.
 * @param source - Raw contents of an agent .md file
 * @param options - Transform options
 * @returns Serialized Codex agent TOML
 */
export declare function transformAgentMarkdownToToml(source: string, options?: AgentTransformOptions): string;
export {};
//# sourceMappingURL=agent-transformer.d.ts.map