import type { Collection } from 'mongodb';
import type { MemoryDocument, CodeChunk } from '../types/memory-v5.js';
export declare const SEARCH_INDEX_DEFINITIONS: {
    memory_vector_search: {
        name: string;
        type: string;
        collection: string;
        definition: {
            fields: ({
                type: string;
                path: string;
                numDimensions: number;
                similarity: string;
            } | {
                type: string;
                path: string;
                numDimensions?: undefined;
                similarity?: undefined;
            })[];
        };
    };
    memory_text_search: {
        name: string;
        type: string;
        collection: string;
        definition: {
            mappings: {
                dynamic: boolean;
                fields: {
                    projectId: {
                        type: string;
                        normalizer: string;
                    };
                    memoryName: {
                        type: string;
                        normalizer: string;
                    };
                    content: {
                        type: string;
                        analyzer: string;
                    };
                };
            };
        };
    };
    code_vector_search: {
        name: string;
        type: string;
        collection: string;
        definition: {
            fields: ({
                type: string;
                path: string;
                numDimensions: number;
                similarity: string;
            } | {
                type: string;
                path: string;
                numDimensions?: undefined;
                similarity?: undefined;
            })[];
        };
    };
    code_text_search: {
        name: string;
        type: string;
        collection: string;
        definition: {
            mappings: {
                dynamic: boolean;
                fields: {
                    projectId: {
                        type: string;
                        normalizer: string;
                    };
                    'chunk.name': {
                        type: string;
                        analyzer: string;
                    };
                    'chunk.signature': {
                        type: string;
                        analyzer: string;
                    };
                    searchableText: {
                        type: string;
                        analyzer: string;
                    };
                    'chunk.type': {
                        type: string;
                        normalizer: string;
                    };
                    'metadata.patterns': {
                        type: string;
                        normalizer: string;
                    };
                    'metadata.dependencies': {
                        type: string;
                        normalizer: string;
                    };
                };
            };
        };
    };
};
export declare function createSearchIndexes(memoryCollection: Collection<MemoryDocument>, codeCollection: Collection<CodeChunk>): Promise<{
    success: boolean;
    message: string;
    details: string[];
}>;
//# sourceMappingURL=search-indexes-v5.d.ts.map