import type { JsonValue, ViewerEnvironmentV1, ViewerIdV1, ViewerPermissionV1, ViewerSurfaceV1 } from '@xyo-network/payload-viewer-protocol'; import type { FC } from 'react'; import type { NativeViewerActionV1, PayloadViewerSandboxDiagnosticV1 } from './types.js'; /** Props for {@link SandboxedNativePayloadViewer}. */ export interface SandboxedNativePayloadViewerProps { environment: ViewerEnvironmentV1; grantedPermissions: readonly ViewerPermissionV1[]; onAction?: (action: NativeViewerActionV1) => void; onDiagnostic?: (diagnostic: PayloadViewerSandboxDiagnosticV1) => void; onError?: (error: unknown) => void; payload: Record; renderTimeoutMs?: number; runtimeUrl: string; sessionTimeoutMs?: number; surface: ViewerSurfaceV1; title: string; viewerId: ViewerIdV1; } /** Renders a selected untrusted native viewer through an opaque-origin iframe. */ export declare const SandboxedNativePayloadViewer: FC; //# sourceMappingURL=SandboxedNativePayloadViewer.d.ts.map