export interface Segment { type: 'text' | 'display' | 'inline'; math: boolean; value: string; raw: string; } export interface ExtractMathOptions { escape?: string; delimiters?: { inline?: [string, string]; display?: [string, string]; }; allowSurroundingSpace?: Array<'display' | 'inline'>; } export declare function extractMath(input: string, options?: ExtractMathOptions): Segment[]; //# sourceMappingURL=index.d.ts.map