Public declaration syntax from forge-swift/Sources/ForgeMedia/Transcription.swift Original source SHA-256: 3b5657a0e37ae78f69f83dd396386a3820ec18445557ea7da63e09b55e737c63 Function bodies and constant values are omitted. This is not the complete implementation. Source line 10 public struct TranscriptionResult: Sendable Source line 12 public let text: String /// The detected language (ISO 639-1 code). public let language: String? /// Duration of the audio in seconds. public let duration: Double? /// Per-segment timestamps (if available). public let segments: [TranscriptionSegment]? public init(text: String, language: String?; Source line 14 public let language: String? /// Duration of the audio in seconds. public let duration: Double? /// Per-segment timestamps (if available). public let segments: [TranscriptionSegment]? public init(text: String, language: String?; Source line 16 public let duration: Double? /// Per-segment timestamps (if available). public let segments: [TranscriptionSegment]? public init(text: String, language: String?; Source line 18 public let segments: [TranscriptionSegment]? public init(text: String, language: String?; Source line 20 public init(text: String, language: String?; Source line 29 public struct TranscriptionSegment: Codable, Sendable Source line 31 public let text: String /// Start time in seconds. public let start: Double /// End time in seconds. public let end: Double public init(text: String, start: Double, end: Double) Source line 33 public let start: Double /// End time in seconds. public let end: Double public init(text: String, start: Double, end: Double) Source line 35 public let end: Double public init(text: String, start: Double, end: Double) Source line 37 public init(text: String, start: Double, end: Double) Source line 45 public struct TranscriptionOptions: Codable, Sendable Source line 47 public var language: String? /// Whether to include timestamps. public var timestamps: Bool? /// The response format. public var responseFormat: String? public init(language: String?; Source line 49 public var timestamps: Bool? /// The response format. public var responseFormat: String? public init(language: String?; Source line 51 public var responseFormat: String? public init(language: String?; Source line 53 public init(language: String?; Source line 61 public protocol TranscriptionProvider: Sendable