UNPKG

balena-cli

Version:

The official balena Command Line Interface

15 lines (14 loc) 1.09 kB
export declare function validateEmail(input: string): true | "Email is not valid"; export declare function validatePassword(input: string): true | "Password should be 8 characters long"; export declare function validateApplicationName(input: string): boolean | "The fleet name should be at least 4 characters long"; export declare function validateIPAddress(input: string): boolean; export declare function validateDotLocalUrl(input: string): boolean; export declare function validateLocalHostnameOrIp(input: string): boolean; export declare function validateLongUuid(input: string): boolean; export declare function validateShortUuid(input: string): boolean; export declare function validateUuid(input: string): boolean; export declare function looksLikeInteger(input: string): boolean; export declare function parseAsInteger(input: string, paramName?: string): number; export declare function tryAsInteger(input: string): number | string; export declare function parseAsLocalHostnameOrIp(input: string): Promise<string>; export declare function looksLikeFleetSlug(input: string): boolean;