UNPKG

1.01 kBTypeScriptView Raw
1import Option from './Option';
2export declare const removeBrackets: (v: string) => string;
3export declare const findAllBrackets: (v: string) => {
4 required: boolean;
5 value: string;
6 variadic: boolean;
7}[];
8interface MriOptions {
9 alias: {
10 [k: string]: string[];
11 };
12 boolean: string[];
13}
14export declare const getMriOptions: (options: Option[]) => MriOptions;
15export declare const findLongest: (arr: string[]) => string;
16export declare const padRight: (str: string, length: number) => string;
17export declare const camelcase: (input: string) => string;
18export declare const setDotProp: (obj: {
19 [k: string]: any;
20}, keys: string[], val: any) => void;
21export declare const setByType: (obj: {
22 [k: string]: any;
23}, transforms: {
24 [k: string]: any;
25}) => void;
26export declare const getFileName: (input: string) => string;
27export declare const camelcaseOptionName: (name: string) => string;
28export declare class CACError extends Error {
29 constructor(message: string);
30}
31export {};