/**
 * KiroGraph Error Handling and Logging Infrastructure
 */
export interface Logger {
    debug(msg: string, ...args: unknown[]): void;
    info(msg: string, ...args: unknown[]): void;
    warn(msg: string, ...args: unknown[]): void;
    error(msg: string, ...args: unknown[]): void;
}
export declare const defaultLogger: Logger;
export declare const silentLogger: Logger;
export declare function setLogger(l: Logger): void;
export declare function getLogger(): Logger;
export declare function logDebug(msg: string, ...args: unknown[]): void;
export declare function logWarn(msg: string, ...args: unknown[]): void;
export declare function logError(msg: string, ...args: unknown[]): void;
export declare class KiroGraphError extends Error {
    readonly code: string;
    readonly context?: Record<string, unknown> | undefined;
    constructor(message: string, code: string, context?: Record<string, unknown> | undefined);
}
export declare class IndexError extends KiroGraphError {
    constructor(message: string, context?: Record<string, unknown>);
}
export declare class ResolutionError extends KiroGraphError {
    constructor(message: string, context?: Record<string, unknown>);
}
export declare class EmbeddingError extends KiroGraphError {
    constructor(message: string, context?: Record<string, unknown>);
}
export declare class ConfigError extends KiroGraphError {
    constructor(message: string, context?: Record<string, unknown>);
}
export declare class TraversalError extends KiroGraphError {
    constructor(message: string, context?: Record<string, unknown>);
}
export declare class FileError extends KiroGraphError {
    readonly filePath: string;
    constructor(message: string, filePath: string);
}
export declare class ParseError extends KiroGraphError {
    readonly filePath: string;
    readonly line?: number | undefined;
    constructor(message: string, filePath: string, line?: number | undefined);
}
export declare class DatabaseError extends KiroGraphError {
    constructor(message: string);
}
//# sourceMappingURL=errors.d.ts.map