import type { IExecuteFunctions } from 'n8n-workflow';
interface MemoryWriteRequest {
    userId: string;
    projectId: string;
    content: string;
    tags?: string[] | null;
    consentFlag: boolean;
    expiresAt?: string;
}
interface MemoryWithScoreDto {
    id?: string;
    userId?: string | null;
    projectId?: string | null;
    content?: string | null;
    tags?: string[] | null;
    createdAt?: string | null;
    expiresAt?: string | null;
    similarityScore?: number;
    similarityLevel?: string | null;
}
interface SummarizedMemoriesDto {
    content?: string | null;
    numberOfMemories?: number;
}
interface RecallSummaryRequest {
    tags?: string[] | null;
    userId: string;
    projectId: string;
    scope: string;
}
interface MemoryRecallRequest {
    tags?: string[] | null;
    userId: string;
    projectId: string;
    query: string;
    scope: string;
}
interface MemoryRecallOptions {
    limit?: number;
    similarityThreshold?: number;
    summarized?: boolean;
    reRank?: boolean;
    type?: string | null;
}
interface MemoryDeleteRequest {
    scope: string;
    userId?: string | null;
    projectId?: string | null;
}
interface MemoryExportParams {
    type: string;
    format: string;
    userId?: string;
    projectId?: string;
    startDate?: string;
    endDate?: string;
}
interface ClientOptions {
    apiKey: string;
    baseUrl?: string;
}
declare class RecallioError extends Error {
    status?: number;
    details?: any;
    constructor(message: string, status?: number, details?: any);
}
export declare class RecallioClient {
    private apiKey;
    private baseUrl;
    private httpRequest;
    constructor(options: ClientOptions, httpRequest: IExecuteFunctions['helpers']['httpRequest']);
    private makeRequest;
    writeMemory(body: MemoryWriteRequest): Promise<void>;
    recallMemory(body: MemoryRecallRequest, options?: MemoryRecallOptions): Promise<MemoryWithScoreDto[]>;
    deleteMemory(body: MemoryDeleteRequest): Promise<void>;
    recallSummary(body: RecallSummaryRequest): Promise<SummarizedMemoriesDto>;
    exportMemory(params: MemoryExportParams): Promise<any>;
}
export { RecallioError };
export type { MemoryWriteRequest, MemoryWithScoreDto, SummarizedMemoriesDto, RecallSummaryRequest, MemoryRecallRequest, MemoryRecallOptions, MemoryDeleteRequest, MemoryExportParams, ClientOptions };
