export declare const FEA_RUN_DATASET_SCHEMA_VERSION: 1; export declare const FEA_FIELD_DESCRIPTORS_SCHEMA_VERSION: 1; export declare const FEA_DIAGNOSTICS_SCHEMA_VERSION: 1; export declare const FEA_OBJECT_ARTIFACT_METADATA_SCHEMA_VERSION: 1; export declare const FEA_RUN_DATASET_KIND: "finite_element_run_dataset"; export declare const FEA_DATASET_ARTIFACT_KIND: "finite_element_dataset"; export declare const FEA_FIELD_DESCRIPTORS_ARTIFACT_KIND: "finite_element_field_descriptors"; export declare const FEA_DIAGNOSTICS_ARTIFACT_KIND: "finite_element_diagnostics"; export declare const FEA_ARTIFACT_MANIFEST_KIND: "finite_element_artifact_manifest"; export declare const FEA_FIELD_DEFAULT_PAGE_SIZE: 4096; export declare const FEA_FIELD_DEFAULT_MATERIALIZE_LIMIT: 256; export declare const FEA_ANALYSIS_PROFILES: readonly ["linear_static_structural", "thermo_mechanical_coupled", "electro_thermal_coupled", "thermal_standalone", "modal_structural", "acoustic_harmonic", "transient_structural", "nonlinear_structural", "electromagnetic_static", "cfd_steady_state", "cfd_transient", "cht_coupled", "fsi_coupled"]; export declare const FEA_ANALYSIS_RUN_KINDS: readonly ["linear_static", "modal", "acoustic", "thermal", "transient", "cfd", "cht", "fsi", "nonlinear", "electromagnetic"]; export type FeaAnalysisProfile = "linear_static_structural" | "thermo_mechanical_coupled" | "electro_thermal_coupled" | "thermal_standalone" | "modal_structural" | "acoustic_harmonic" | "transient_structural" | "nonlinear_structural" | "electromagnetic_static" | "cfd_steady_state" | "cfd_transient" | "cht_coupled" | "fsi_coupled"; export type FeaAnalysisRunKind = "linear_static" | "modal" | "acoustic" | "thermal" | "transient" | "cfd" | "cht" | "fsi" | "nonlinear" | "electromagnetic"; export type FeaDocumentKind = "study" | "sweep"; export type FeaFieldKind = "scalar" | "vector" | "tensor" | "unknown"; export type FeaFieldStorage = "host_f64" | "device_ref"; export type FeaFieldLocation = "node" | "element" | "edge" | "boundary_face" | "interface_face" | "mode" | "global" | "unknown"; export type FeaProgressPhase = "geometry_load" | "region_resolution" | "mesh_prep" | "model_assembly" | "solve" | "postprocess" | "artifact_persistence" | "complete"; export type FeaProgressStatus = "started" | "advanced" | "completed" | "failed" | "cancelled"; export interface FeaPhysicsProfileCatalogEntry { profile: FeaAnalysisProfile; label: string; family: string; target: string; value: string; defaultOutputs: readonly { field: string; location: string; }[]; } export declare const FEA_SUPPORTED_PHYSICS_PROFILES: readonly FeaPhysicsProfileCatalogEntry[]; export declare const FEA_SUPPORTED_PHYSICS_FAMILIES: readonly string[]; export interface FeaProgressEvent { operation: string; phase: FeaProgressPhase; status: FeaProgressStatus; message: string; current?: number; total?: number; fraction?: number; metadata?: Record; } export interface FeaCapabilities { supportedDocumentExtensions: string[]; supportedGeometryExtensions: string[]; physicsProfiles: FeaPhysicsProfileCatalogEntry[]; supportsCheck: boolean; supportsRun: boolean; supportsResults: boolean; supportsLiveProgress: boolean; visualizationBackend: string; } export interface FeaCheckResult { path: string; documentKind: FeaDocumentKind; valid: boolean; validation: unknown; plan?: unknown; diagnostics: unknown[]; evidenceArtifactPaths: string[]; } export interface FeaRunResult { path: string; documentKind: FeaDocumentKind; run: unknown; results?: unknown; fieldDescriptors: FeaFieldDescriptor[]; resultSummary?: unknown; figureHandles: number[]; artifactManifest?: unknown; diagnostics: unknown[]; progressEvents: FeaProgressEvent[]; } export interface FeaFieldRequestOptions { offset?: number; limit?: number; } export interface FeaFieldResult { runId: string; fieldId: string; descriptor: FeaFieldDescriptor; values: number[]; offset: number; count: number; totalCount: number; truncated: boolean; } export interface FeaRunDatasetStudyRef { path: string; documentKind: FeaDocumentKind | null; valid: boolean | null; evidenceArtifactPaths: string[]; } export interface FeaRunDatasetFieldPagingPolicy { mode: string; policy: string; } export interface FeaRunDatasetPayload { schemaVersion: number; kind: string; runId: string; docPath: string; study: FeaRunDatasetStudyRef; analysisProfile?: FeaAnalysisProfile; physicsFamily?: string; analysisRunKind?: FeaAnalysisRunKind; availableOutputSummary?: string; run: unknown; resultSummary: unknown; fields: FeaFieldDescriptor[]; fieldPaging: FeaRunDatasetFieldPagingPolicy; diagnostics: unknown[]; artifactManifest: unknown; } export interface FeaFieldDescriptorsArtifactPayload { schemaVersion: number; runId: string; fields: FeaFieldDescriptor[]; } export interface FeaDiagnosticsArtifactPayload { schemaVersion: number; runId: string; diagnostics: unknown[]; } export interface FeaObjectArtifactMetadata { schemaVersion: number; artifactId: string; src: string; bytes: number; mime: string; kind: string; handle?: number; } export interface FeaFieldPagingDescriptor { mode: string; valueUnit: string; totalCount: number | null; pageSize: number; pageCount: number | null; defaultMaterializeLimit: number; } export interface FeaFieldStorageRef { kind: string; fieldId: string; storage: FeaFieldStorage; sizeBytes: number | null; } export interface FeaFieldDescriptor { field_id: string; family: string; quantity: string; topology_id: string | null; element_kind: string | null; class_name: string; kind: FeaFieldKind; dtype: string; unit: string | null; location: FeaFieldLocation; shape: number[]; element_count: number; entity_count: number; value_count: number; component_count: number | null; residency: string; storage: FeaFieldStorage; size_bytes: number | null; paging: FeaFieldPagingDescriptor; storageRef: FeaFieldStorageRef; } export declare const FEA_STUDY_DOCUMENT_OPERATIONS: readonly ["get_summary", "create", "add_region", "update_region", "remove_region", "add_material", "update_material", "assign_material", "add_constraint", "update_constraint", "remove_constraint", "add_driving_condition", "update_driving_condition", "remove_driving_condition", "set_mesh", "set_outputs"]; export type FeaStudyDocumentOperation = typeof FEA_STUDY_DOCUMENT_OPERATIONS[number]; export interface FeaStudyDocumentOperationOutput { source: string; result: FeaStudyDocumentOperationResult; write: boolean; } export interface FeaStudySummary { studyId: string | null; geometryPath: string | null; geometryUnits: string | null; modelProfile: string | null; modelDefaults: string | null; meshProfile: string | null; meshTargetSize: string | null; meshMaxElements: string | null; runKind: string | null; runBackend: string | null; } export interface FeaStudyRegionEntry { key: string; selector: string | null; } export interface FeaStudyMaterialEntry { key: string; name: string | null; mechanicalSummary: string | null; thermalSummary: string | null; electromagneticSummary: string | null; acousticSummary: string | null; fluidSummary: string | null; youngsModulusPa: string | null; poissonRatio: string | null; } export interface FeaStudyMaterialAssignmentEntry { index: number; region: string | null; material: string | null; } export interface FeaStudyBoundaryConditionEntry { index: number; id: string | null; region: string | null; kind: string | null; } export interface FeaStudyDrivingConditionEntry { index: number; id: string | null; region: string | null; type: string | null; value: string | null; direction: string | null; } export interface FeaStudyStepEntry { index: number; id: string | null; kind: string | null; } export interface FeaStudyOutputEntry { index: number; id: string | null; field: string | null; location: string | null; kind: string | null; } export interface FeaStudyReadiness { readyToSolve: boolean; blockers: string[]; } export interface FeaStudyDocumentDiff { changedSections: string[]; before: FeaStudySummary; after: FeaStudySummary; sourceLengthBefore: number; sourceLengthAfter: number; } export interface FeaStudyDocumentCounts { regions: number; materials: number; material_assignments: number; boundary_conditions: number; driving_conditions: number; steps: number; outputs: number; } export interface FeaStudyDocumentOperationResult { path: string; document_kind: string; summary: FeaStudySummary; regions: FeaStudyRegionEntry[]; materials: FeaStudyMaterialEntry[]; material_assignments: FeaStudyMaterialAssignmentEntry[]; boundary_conditions: FeaStudyBoundaryConditionEntry[]; driving_conditions: FeaStudyDrivingConditionEntry[]; steps: FeaStudyStepEntry[]; outputs: FeaStudyOutputEntry[]; counts: FeaStudyDocumentCounts; readiness: FeaStudyReadiness; diff?: FeaStudyDocumentDiff; } //# sourceMappingURL=fea-study-document-contracts.d.ts.map