/**
 * @fileoverview String manipulation utilities including ANSI code handling.
 * Provides string processing, prefix application, and terminal output utilities.
 */
// Type definitions
declare const BlankStringBrand: unique symbol;
export type BlankString = string & {
    [BlankStringBrand]: true;
};
declare const EmptyStringBrand: unique symbol;
export type EmptyString = string & {
    [EmptyStringBrand]: true;
};
/**
 * Apply a prefix to each line of a string.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function applyLinePrefix(str: string, prefix?: string): string;
/**
 * Convert a camelCase string to kebab-case.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function camelToKebab(str: string): string;
/**
 * Indent each line of a string with spaces.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function indentString(str: string, count?: number): string;
/**
 * Check if a value is a blank string (empty or only whitespace).
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function isBlankString(value: unknown): value is BlankString;
/**
 * Check if a value is a non-empty string.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function isNonEmptyString(value: unknown): value is Exclude<string, EmptyString>;
/**
 * Search for a regular expression in a string starting from an index.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function search(str: string, regexp: RegExp, fromIndex?: number): number;
/**
 * Strip ANSI escape codes from a string.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function stripAnsi(str: string): string;
/**
 * Strip the Byte Order Mark (BOM) from the beginning of a string.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function stripBom(str: string): string;
/**
 * Convert a string to kebab-case (handles camelCase and snake_case).
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function toKebabCase(str: string): string;
/**
 * Trim newlines from the beginning and end of a string.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function trimNewlines(str: string): string;
export {};
