/** * The Code Stepper component is a component that allows you to step through * the code using familiar directives. * * @example "@step showLines(1-3)" will show lines 1-3 * @example "@step highlight(1-3)" will highlight lines 1-3 * */ type StepDirective = { showLines?: number[]; highlight?: number[]; name?: string; }; export type Step = { hiddenLines: number[]; highlight: number[]; name?: string; }; /** * Reduce steps directives */ export declare function combineStepDirectives(directives: StepDirective[]): Step[]; /** * Parse step directives */ export declare function parseStepDirectives(directives: string[]): Step[]; export {};