import type { TurboModule } from 'react-native';
interface Constants {
}
export interface Spec extends TurboModule {
    readonly getConstants: () => Constants;
    readonly createScanner: (patterns: readonly string[], maxCacheSize: number) => number;
    readonly findNextMatchSync: (scannerId: number, text: string, startPosition: number) => {
        readonly index: number;
        readonly captureIndices: ReadonlyArray<{
            readonly start: number;
            readonly end: number;
            readonly length: number;
        }>;
    } | null;
    readonly destroyScanner: (scannerId: number) => void;
}
declare const _default: Spec;
export default _default;
//# sourceMappingURL=NativeShikiEngine.d.ts.map