/**
 * Attachment interface for files/images passed with prompts
 */
export interface Attachment {
    path: string;
    name: string;
    type: string;
}
/**
 * PromptLogger - Automatic logging of user prompts to increment logs
 *
 * Features:
 * - Logs every user prompt to appropriate increment's logs/ folder
 * - Organized by day (YYYY-MM-DD)
 * - **SECURITY**: Automatically masks credentials before saving
 * - Copies attachments to assets/ subfolder
 * - Smart increment detection (active increments)
 * - Fallback to orphaned logs if no active increment
 */
export declare class PromptLogger {
    private workingDir;
    constructor(workingDir: string);
    /**
     * Log a user prompt to the daily session file
     *
     * @param promptText - Exact user prompt text
     * @param attachments - Optional attachments (images, files)
     */
    logPrompt(promptText: string, attachments?: Attachment[]): Promise<void>;
    /**
     * Create session file header
     */
    private createSessionHeader;
    /**
     * Build a single prompt entry
     *
     * SECURITY: Masks all credentials before writing to log file
     */
    private buildPromptEntry;
    /**
     * Copy attachments to assets folder
     */
    private copyAttachments;
    /**
     * Generate numbered asset filename
     */
    private getAssetFilename;
    /**
     * Get prefix based on file type
     */
    private getTypePrefix;
    /**
     * Find the appropriate increment for logging
     *
     * Priority:
     * 1. Most recently modified active increment (if multiple active)
     * 2. Single active increment
     * 3. null (log to orphaned/)
     *
     * @returns Increment ID or null for orphaned logs
     */
    private findIncrementForLogging;
    /**
     * Ensure README.md exists in logs/ folder
     */
    private ensureLogsReadme;
    /**
     * Create README.md content for logs/ folder
     */
    private createLogsReadme;
}
//# sourceMappingURL=prompt-logger.d.ts.map