export declare function expandHome(filepath: string): string;
export declare function resolvePath(filepath: string, basePath?: string): string;
export declare function getMcpcHome(): string;
export declare function getSessionsFilePath(): string;
export declare function getBridgesDir(): string;
export declare function getSocketPath(sessionName: string): string;
export declare function getLogsDir(): string;
export declare function getAuthProfilesFilePath(): string;
export declare function ensureDir(dirPath: string): Promise<void>;
export declare function fileExists(filepath: string): Promise<boolean>;
export declare function isFile(filepath: string): Promise<boolean>;
export declare function isDirectory(filepath: string): Promise<boolean>;
export declare function isValidHttpUrl(str: string): boolean;
export declare function normalizeServerUrl(str: string): string;
export declare function getServerHost(urlString: string): string;
export declare function isValidSessionName(name: string): boolean;
export declare function isValidProfileName(name: string): boolean;
export declare function validateProfileName(profileName: string): void;
export declare function isValidResourceUri(uri: string): boolean;
export declare function sleep(ms: number): Promise<void>;
export declare function waitForFile(filepath: string, options?: {
    timeoutMs?: number;
    interval?: number;
}): Promise<void>;
export declare function parseJson<T = unknown>(json: string): T;
export declare function stringifyJson(obj: unknown, pretty?: boolean): string;
export declare function truncate(str: string, maxLength: number): string;
export declare function isProcessAlive(pid: number): boolean;
export declare function generateRequestId(): string;
export declare const REDACTED_HEADER_VALUE = "<redacted>";
export declare function redactHeaders(headers: Record<string, string>): Record<string, string>;
export declare function isSessionExpiredError(errorMessage: string): boolean;
//# sourceMappingURL=utils.d.ts.map