/** * Checks whether a string contains only one or more asterisk characters. * * @param value The string to inspect. * @returns True when the string contains at least one character and every character is `*`. */ export declare function isAllAsterisks(value: string): boolean; /** * The service and action name portions of an IAM action string. */ export interface IamActionParts { /** * The service prefix before the separator colon. */ service: string; /** * The action name or wildcard pattern after the separator colon. */ actionName: string; } /** * Tests whether a candidate string matches an IAM wildcard pattern without allocating * intermediate strings or regular expressions. * * @param pattern The IAM wildcard pattern to test, where `*` matches zero or more characters and `?` matches one character. * @param candidate The candidate string to check against the pattern. * @returns True if the candidate matches the whole pattern, otherwise false. */ export declare function wildcardMatches(pattern: string, candidate: string): boolean; /** * Parses an IAM action string into service and action portions without splitting the string. * * @param actionString The IAM action string to parse. * @returns Parsed action parts, or undefined when the string does not contain exactly one colon. */ export declare function parseIamActionParts(actionString: string): IamActionParts | undefined; /** * Unescapes unicode characters in a string * * @param str The string to unescape * @returns The string with any escaped unicode characters replaced with their actual characters */ export declare function unescapeUnicodeCharacters(str: string): string; //# sourceMappingURL=util.d.ts.map