/** * Common type aliases for unknown types used throughout the codebase * These provide semantic meaning while maintaining type safety */ /** * Unknown data parsed from tool output (JSON, text, etc.) * Must be validated before use */ export type UnknownToolOutput = unknown; /** * Unknown parsed data from a quality tool * Used as a generic constraint for lens parsing */ export type UnknownParsedData = unknown; /** * Unknown JSON structure from external tools * Requires runtime validation */ export type UnknownJson = unknown; /** * Unknown configuration or options object * Should be validated against expected schema */ export type UnknownConfig = unknown; /** * Unknown environment variable value * Could be string, undefined, or other types */ export type UnknownEnvValue = unknown; /** * Unknown error object from catch blocks * Should be checked before accessing properties */ export type UnknownError = unknown; /** * Unknown message data from IPC or process communication */ export type UnknownMessage = unknown; /** * Unknown metadata or custom fields * Used for extensible properties */ export type UnknownMetadata = Record; /** * Type guard to check if a value is an Error */ export declare function isError(value: unknown): value is Error; /** * Type guard to check if a value is a string */ export declare function isString(value: unknown): value is string; /** * Type guard to check if a value is an object */ export declare function isObject(value: unknown): value is Record; //# sourceMappingURL=common.d.ts.map