export function _resetInitCache(): void;
export function _mem0DbPaths(cwd: any): {
    dir: any;
    vectorDbPath: any;
    historyDbPath: any;
};
export function _resolveMem0Config(cwd: any): {
    llm: {
        provider: string;
        config: {
            apiKey?: string;
            model: string;
            baseURL: string;
        };
    };
    embedder: {
        provider: string;
        config: {
            apiKey?: string;
            model: string;
            embeddingDims: number;
            baseURL: string;
        };
    };
    vectorStore: {
        provider: string;
        config: {
            dimension: number;
            dbPath: any;
        };
    };
    historyDbPath: any;
};
export function _resolveMemoryAdapter(cwd: any, context: any): Promise<any>;
export function _resolveMem0Infer(arg: any, cwd: any): Promise<any>;
export namespace chatMemorySkill {
    let id: string;
    let description: string;
    let envKeys: any[];
    let promptFragment: string;
    function resolve(): any;
    function buildPromptContext(context: any, args?: {}): Promise<{
        backend: any;
        brief: {
            recentSessions: any;
            topMemories: any;
            taskStats: any;
            ticketFilter: any;
            backend: any;
            error: any;
        };
        promptContext: string;
        debugPreview: {
            backend: any;
            recentSessions: any;
            topMemories: any;
            taskStats: any;
            error: any;
        };
        error: any;
        degradedFrom?: undefined;
    } | {
        backend: string;
        brief: {
            recentSessions: any;
            topMemories: any;
            taskStats: any;
            ticketFilter: any;
            backend: any;
            error: any;
        };
        promptContext: string;
        debugPreview: {
            backend: any;
            recentSessions: any;
            topMemories: any;
            taskStats: any;
            error: any;
        };
        error: any;
        degradedFrom: string;
    }>;
    function handleToolCall(name: any, args: any, context: any): Promise<any>;
    let tools: ({
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                memoryKey: {
                    type: string;
                    description: string;
                };
                content: {
                    type: string;
                    description: string;
                };
                category: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                tier: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                source: {
                    type: string;
                    description: string;
                };
                ticketKey: {
                    type: string;
                    description: string;
                };
                infer: {
                    type: string;
                    description: string;
                    default: boolean;
                };
                query?: undefined;
                limit?: undefined;
                summary?: undefined;
                tickets?: undefined;
                tasksRun?: undefined;
                tasksPassed?: undefined;
                tasksFailed?: undefined;
                keyFacts?: undefined;
                title?: undefined;
                type?: undefined;
                status?: undefined;
                specPath?: undefined;
                resultSummary?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                query: {
                    type: string;
                    description: string;
                };
                category: {
                    type: string;
                    description: string;
                    enum?: undefined;
                };
                ticketKey: {
                    type: string;
                    description: string;
                };
                tier: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                limit: {
                    type: string;
                    description: string;
                };
                memoryKey?: undefined;
                content?: undefined;
                source?: undefined;
                infer?: undefined;
                summary?: undefined;
                tickets?: undefined;
                tasksRun?: undefined;
                tasksPassed?: undefined;
                tasksFailed?: undefined;
                keyFacts?: undefined;
                title?: undefined;
                type?: undefined;
                status?: undefined;
                specPath?: undefined;
                resultSummary?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                ticketKey: {
                    type: string;
                    description: string;
                };
                memoryKey?: undefined;
                content?: undefined;
                category?: undefined;
                tier?: undefined;
                source?: undefined;
                infer?: undefined;
                query?: undefined;
                limit?: undefined;
                summary?: undefined;
                tickets?: undefined;
                tasksRun?: undefined;
                tasksPassed?: undefined;
                tasksFailed?: undefined;
                keyFacts?: undefined;
                title?: undefined;
                type?: undefined;
                status?: undefined;
                specPath?: undefined;
                resultSummary?: undefined;
            };
            required?: undefined;
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                summary: {
                    type: string;
                    description: string;
                };
                tickets: {
                    type: string;
                    description: string;
                };
                tasksRun: {
                    type: string;
                    description: string;
                };
                tasksPassed: {
                    type: string;
                    description: string;
                };
                tasksFailed: {
                    type: string;
                    description: string;
                };
                keyFacts: {
                    type: string;
                    description: string;
                };
                memoryKey?: undefined;
                content?: undefined;
                category?: undefined;
                tier?: undefined;
                source?: undefined;
                ticketKey?: undefined;
                infer?: undefined;
                query?: undefined;
                limit?: undefined;
                title?: undefined;
                type?: undefined;
                status?: undefined;
                specPath?: undefined;
                resultSummary?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                title: {
                    type: string;
                    description: string;
                };
                type: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                status: {
                    type: string;
                    enum: string[];
                    description: string;
                };
                ticketKey: {
                    type: string;
                    description: string;
                };
                specPath: {
                    type: string;
                    description: string;
                };
                resultSummary: {
                    type: string;
                    description: string;
                };
                memoryKey?: undefined;
                content?: undefined;
                category?: undefined;
                tier?: undefined;
                source?: undefined;
                infer?: undefined;
                query?: undefined;
                limit?: undefined;
                summary?: undefined;
                tickets?: undefined;
                tasksRun?: undefined;
                tasksPassed?: undefined;
                tasksFailed?: undefined;
                keyFacts?: undefined;
            };
            required: string[];
        };
    } | {
        name: string;
        description: string;
        input_schema: {
            type: string;
            properties: {
                ticketKey: {
                    type: string;
                    description: string;
                };
                type: {
                    type: string;
                    description: string;
                    enum?: undefined;
                };
                status: {
                    type: string;
                    description: string;
                    enum?: undefined;
                };
                limit: {
                    type: string;
                    description: string;
                };
                memoryKey?: undefined;
                content?: undefined;
                category?: undefined;
                tier?: undefined;
                source?: undefined;
                infer?: undefined;
                query?: undefined;
                summary?: undefined;
                tickets?: undefined;
                tasksRun?: undefined;
                tasksPassed?: undefined;
                tasksFailed?: undefined;
                keyFacts?: undefined;
                title?: undefined;
                specPath?: undefined;
                resultSummary?: undefined;
            };
            required?: undefined;
        };
    })[];
}
