/**
 * Shared file extraction helpers for reading field-level files from form_data.
 * Used by summary_view, print_view, approval_view, and any other view that
 * reads files stored at __files_${field_id} / __private_files_${field_id}.
 */
import type { FileData } from '../../hazo_collab_form_base.js';
import type { FormFileAttachment } from '../../../types/file_attachment.js';
/** Extract public files for a field from form_data (legacy FileData shape) */
export declare function get_field_files(form_data: Record<string, unknown>, field_id: string): FileData[];
/** Extract private files for a field from form_data (legacy FileData shape) */
export declare function get_field_private_files(form_data: Record<string, unknown>, field_id: string): FileData[];
/** Extract public attachments for a field from form_data (FormFileAttachment shape) */
export declare function get_field_attachments(form_data: Record<string, unknown>, field_id: string): FormFileAttachment[];
/** Extract private attachments for a field from form_data (FormFileAttachment shape) */
export declare function get_field_private_attachments(form_data: Record<string, unknown>, field_id: string): FormFileAttachment[];
//# sourceMappingURL=file_helpers.d.ts.map