import { ResourceType } from "../resource/ResourceList"; export * from "./time"; export declare function assertUnreachable(_x: never): never; export declare type SubcommandParam = T | ResourceType | string; export declare function StaticImplements(): (constructor: U) => U; export interface ICopy { copy(args: T): T; } export declare function textToSlug(text: string): string; export declare function slugToText(str: string): string; export declare const asString: (val: any) => string; export declare function trim(s: string): string; export declare function capitalizeAll(str: string): string; export declare const createIsType: (predicateFunc: (_someValue: any) => boolean) => (someValue: any) => someValue is T; export declare const createAsType: (expectedTypeName: string, guardFunc: (someValue: any) => someValue is T) => (someValue: any) => T; export declare const createIsObjectType: (collection: readonly string[]) => (someValue: any) => someValue is Record; export declare const createAsObjectType: (expectedTypeName: string, guardFunc: (someValue: any) => someValue is Record) => (someValue: any) => Record; export declare const createIsStringType: (collection: readonly T[]) => (someValue: any) => someValue is T; export declare const createAsStringType: (expectedTypeName: string, guardFunc: (someValue: string) => someValue is T) => (someValue: string) => T; export declare const isUndefined: (someValue: any) => someValue is undefined; export declare const isObject: (someValue: any) => someValue is Record; export declare const isNull: (someValue: any) => someValue is null; export declare const isNullOrUndefined: (someValue: any) => someValue is null; export declare const isNotNullOrUndefined: (val: T) => val is T; export declare const isNotUndefined: (val: T) => val is T; export declare const isNumberArray: (someValue: any) => someValue is number[]; export declare const asNumberArray: (someValue: any) => number[]; export declare const isNumber: (someValue: any) => someValue is number; export declare const asNumber: (value?: unknown) => number; export declare function sortByProp(prop: keyof T): (a: T, b: T) => number; export declare function sortByPropDesc(prop: keyof T): (a: T, b: T) => number; export declare function findByProp(prop: keyof T): (a: T, b: T) => boolean; export declare function toLower(a: string): string; export declare function createBIncludesA(a: string): (b: string) => boolean; export declare const aIncludesB: (a: string, b: string) => boolean; export declare const formatTextValue: (text: string) => string; export declare function createAIsB(a: string): (b: string) => boolean; export declare function aIsB(a?: string, b?: string): boolean; export declare const asArray: (someValue: any) => any[]; export declare const isTruthy: (someValue: any) => someValue is any; export declare const isBoolean: (someValue: any) => someValue is boolean; export declare const isStringArray: (someValue: any) => someValue is string[]; export declare const asStringArray: (someValue: any) => string[]; export declare const isString: (someValue: any) => someValue is string; export declare function getQuotedWords(words: string): string; export declare function getEscapedRegex(str: string, flags?: string): RegExp;