export interface Segment {
    type: 'text' | 'display' | 'inline';
    math: boolean;
    value: string;
    raw: string;
}
export declare const SEGMENTS_REGEX: RegExp;
export declare function extractMath(input: string): Segment[];
//# sourceMappingURL=index.d.ts.map