xwt
5 天以前 8957921b34cb2e108d3fd6013e1266486c96bfb3
1
2
3
4
5
6
7
8
9
10
11
12
13
import type { CodeKeywordDefinition } from "ajv";
declare type TransformName = "trimStart" | "trimEnd" | "trimLeft" | "trimRight" | "trim" | "toLowerCase" | "toUpperCase" | "toEnumCase";
interface TransformConfig {
    hash: Record<string, string | undefined>;
}
declare type Transform = (s: string, cfg?: TransformConfig) => string;
declare const transform: {
    [key in TransformName]: Transform;
};
declare const getDef: (() => CodeKeywordDefinition) & {
    transform: typeof transform;
};
export default getDef;