taraskevizer
Version:
Канвэртацыя акадэмічнага правапісу ў клясычны
12 lines (11 loc) • 383 B
TypeScript
import type { DeepPartialReadonly } from '../types';
import type { TaraskStep } from '../steps';
import { TaraskConfig } from '../config';
export type Pipeline = {
(text: string, cfg?: DeepPartialReadonly<TaraskConfig>): string;
steps: TaraskStep<any>[];
};
/**
* Create a callable pipeline from steps.
*/
export declare const pipe: (steps: TaraskStep<any>[]) => Pipeline;