import { Buffer } from "node:buffer";
export declare function extractTextFromFileBuffer(fileBuffer: Buffer, contentType: string, originalFilename: string): Promise<string>;
export declare function convertPdfToTextFromBuffer(pdfBuffer: Buffer, _filename?: string): Promise<string>;
export declare function isBinaryContentType(contentType: string, filename: string): boolean;
export declare function normalizeS3Url(url: string): string;
export declare function fetchUrlContent(url: string): Promise<{
    content: string;
    contentType: string;
}>;
export declare function looksLikeBase64(content?: string | null): boolean;
export declare function generateContentBasedId(content: string, agentId: string, options?: {
    maxChars?: number;
    includeFilename?: string;
    contentType?: string;
}): string;
export declare function extractFirstLines(content: string, maxLines?: number): string;
//# sourceMappingURL=utils.d.ts.map