import type { IOnigMatch } from '@shikijs/vscode-textmate';
interface OnigResult {
    readonly index: number;
    readonly captureIndices: readonly {
        readonly start: number;
        readonly end: number;
        readonly length: number;
    }[];
}
export declare function convertToOnigMatch(result: OnigResult | null): IOnigMatch | null;
export {};
//# sourceMappingURL=utils.d.ts.map