import { type FenceScanState } from "./fences.js";
export type InlineCodeState = {
    open: boolean;
    ticks: number;
};
export declare function createInlineCodeState(): InlineCodeState;
type CodeSpanIndex = {
    inlineState: InlineCodeState;
    fenceState: FenceScanState;
    isInside: (index: number) => boolean;
};
export declare function buildCodeSpanIndex(text: string, inlineState?: InlineCodeState, fenceState?: FenceScanState): CodeSpanIndex;
export {};
