UI/UX: Adiciona campo opcional para colagem manual de transcrição no VideoMind

This commit is contained in:
2026-06-05 22:19:33 +00:00
parent 281005a8bc
commit 3781c848da
2395 changed files with 242184 additions and 20 deletions
+28
View File
@@ -0,0 +1,28 @@
interface TextEncoding {
/**
* Verify that the given text is valid UTF-8.
*/
checkUtf8: (text: string) => boolean;
/**
* Encode UTF-8 text to binary.
*/
encodeUtf8: (text: string) => Uint8Array<ArrayBuffer>;
/**
* Decode UTF-8 text from binary. If `strict` is true, throw on invalid byte
* sequences instead of silently substituting U+FFFD. Implementations that
* do not support strict decoding may ignore the flag.
*/
decodeUtf8: (bytes: Uint8Array, strict?: boolean) => string;
}
/**
* Protobuf-ES requires the Text Encoding API to convert UTF-8 from and to
* binary. This WHATWG API is widely available, but it is not part of the
* ECMAScript standard. On runtimes where it is not available, use this
* function to provide your own implementation.
*
* Note that the Text Encoding API does not provide a way to validate UTF-8.
* Our implementation falls back to use encodeURIComponent().
*/
export declare function configureTextEncoding(textEncoding: TextEncoding): void;
export declare function getTextEncoding(): TextEncoding;
export {};