/**
 * Bootstrap File Injection
 *
 * OpenClaw-inspired workspace context injection at session start.
 * Automatically loads BOOTSTRAP.md, AGENTS.md, SOUL.md, etc.
 * from .codebuddy/ (project) or ~/.codebuddy/ (global).
 *
 * Project files override global files for the same name.
 */
export interface BootstrapResult {
    /** Concatenated content with headers */
    content: string;
    /** Source file paths that were loaded */
    sources: string[];
    /** Approximate character count */
    tokenCount: number;
    /** Whether content was truncated */
    truncated: boolean;
}
export interface BootstrapLoaderConfig {
    /** Maximum characters to include (default: 20000) */
    maxChars: number;
    /** Bootstrap file names to look for */
    fileNames: string[];
    /** Project config directory name */
    projectDir: string;
    /** Global config directory */
    globalDir: string;
}
export declare class BootstrapLoader {
    private config;
    constructor(config?: Partial<BootstrapLoaderConfig>);
    /**
     * Load bootstrap files from project and global directories.
     * Project files take priority over global files for the same name.
     */
    load(cwd: string): Promise<BootstrapResult>;
    /**
     * Load a single bootstrap file, checking project dir first, then global.
     */
    private loadFile;
    private readFileSafe;
    /**
     * Basic security validation for bootstrap content.
     * Rejects files with common dangerous patterns.
     */
    private containsDangerousPatterns;
}
