import { a as MergeOptions, t as FindResult } from "../chunks/text-operations-IlJiffp7.js"; //#region src/pptx/cli/commands.d.ts /** Result from the `info` command. */ interface InfoResult { slideCount: number; width: number; height: number; widthEmu?: number; heightEmu?: number; slideSizeType?: string; title?: string; creator?: string; subject?: string; themeName?: string; majorFont?: string; minorFont?: string; layoutCount: number; layouts: string[]; sectionCount: number; sections: string[]; hasMacros: boolean; hasDigitalSignatures: boolean; embeddedFontCount: number; customShowCount: number; totalElements: number; hiddenSlideCount: number; notesCount: number; commentCount: number; } /** Result from the `export-svg` command. */ interface ExportSvgResult { slideCount: number; svgs: string[]; } /** Result from the `export-md` command. */ interface ExportMdResult { markdown: string; slideCount: number; } /** Result from the `merge` command. */ interface MergeResult { mergedSlideCount: number; totalSlideCount: number; outputBytes: Uint8Array; } /** Result from the `find` command. */ interface FindCommandResult { matches: FindResult[]; totalCount: number; } /** Result from the `replace` command. */ interface ReplaceResult { replacementCount: number; outputBytes: Uint8Array; } /** Result from the `create` command. */ interface CreateResult { outputBytes: Uint8Array; slideCount: number; } /** A single slide's diff entry. */ interface SlideDiffEntry { slideNumber: number; status: 'added' | 'removed' | 'modified' | 'unchanged'; elementCountA?: number; elementCountB?: number; textDifferences?: string[]; } /** Result from the `diff` command. */ interface DiffResult { slideCountA: number; slideCountB: number; dimensionsMatch: boolean; themeMatch: boolean; slideDiffs: SlideDiffEntry[]; } /** * Show presentation info (slides, dimensions, theme, metadata). */ export declare function handleInfo(bytes: Uint8Array): Promise; /** * Export all slides as SVG strings. */ export declare function handleExportSvg(bytes: Uint8Array, options?: { slideIndices?: number[]; includeHidden?: boolean; }): Promise; /** * Export presentation to Markdown. */ export declare function handleExportMd(bytes: Uint8Array, options?: { sourceName?: string; includeSpeakerNotes?: boolean; semanticMode?: boolean; slideRange?: { start?: number; end?: number; }; }): Promise; /** * Merge two presentations. */ export declare function handleMerge(targetBytes: Uint8Array, sourceBytes: Uint8Array, options?: MergeOptions): Promise; /** * Find text in a presentation. */ export declare function handleFind(bytes: Uint8Array, search: string, options?: { caseSensitive?: boolean; }): Promise; /** * Replace text in a presentation and return the modified bytes. */ export declare function handleReplace(bytes: Uint8Array, search: string, replacement: string, options?: { caseSensitive?: boolean; }): Promise; /** * Create a new blank presentation. */ export declare function handleCreate(options?: { title?: string; creator?: string; theme?: { name?: string; colors?: Record; fonts?: { majorFont?: string; minorFont?: string; }; }; width?: number; height?: number; }): Promise; /** * Compare two presentations and return a diff summary. */ export declare function handleDiff(bytesA: Uint8Array, bytesB: Uint8Array): Promise; //#endregion export type { CreateResult, DiffResult, ExportMdResult, ExportSvgResult, FindCommandResult, InfoResult, MergeResult, ReplaceResult, SlideDiffEntry }; //# sourceMappingURL=index.d.ts.map