import type { Spec } from '../types/index.js';
import type { ExportColumn, ExportInput } from '../types/spec-export.js';
export declare const ALL_COLUMNS: ExportColumn[];
/**
 * Extract the string value for a given column from a spec.
 */
export declare function extractColumnValue(spec: Spec, column: ExportColumn): string;
/**
 * Escape a CSV field value per RFC 4180.
 * If the value contains a comma, newline, or double-quote, wrap in quotes
 * and double any internal quotes.
 */
export declare function escapeCsv(value: string): string;
/**
 * Serialize specs to CSV format.
 * First row is the header, subsequent rows are data.
 */
export declare function specsToCsv(specs: Spec[], columns: ExportColumn[]): string;
/**
 * Serialize specs to a Markdown table format.
 */
export declare function specsToMarkdownTable(specs: Spec[], columns: ExportColumn[]): string;
/**
 * Filter specs by status, type, and tags from ExportInput.
 */
export declare function filterSpecs(specs: Spec[], input: ExportInput): Spec[];
//# sourceMappingURL=spec-exporter.d.ts.map