import { FileInfo } from '../types/fileInput';
import { Message } from '@langchain/langgraph-sdk';
/**
 * Reads a FileList and converts each file to a base64-encoded FileInfo object.
 * Extracted here to avoid duplicating this logic in Chat.tsx and sidebar.tsx.
 */
export declare function readFilesAsBase64(files: FileList): Promise<FileInfo[]>;
/**
 * Builds the `content` array for a human Message from a text input and a list
 * of already-resolved FileInfo objects.
 *
 * @param input   - The plain-text portion of the message (may be empty).
 * @param files   - Resolved file objects to attach as document blocks.
 * @param s3Upload - When true, omits the raw file data and only sends filename/filetype
 *                  (the file was already uploaded to S3, so the agent only needs the reference).
 */
export declare function buildContentBlocks(input: string, files: FileInfo[], s3Upload?: boolean): Message["content"];
//# sourceMappingURL=submitUtils.d.ts.map