import { Type, type Static } from "typebox"; export declare const PACKAGE_VERSION = "0.1.5"; export declare const PACKAGE_NAME = "pi-leetcode-tools"; export declare const CONTRACT_VERSION = "1.1.0"; export declare const PROTOCOL_VERSION = "1.0.0"; export declare const DISCOVERY_CHANNEL = "pi-leetcode-tools:discover:v1"; export declare const RPC_CHANNEL = "pi-leetcode-tools:rpc:v1"; export declare const READY_CHANNEL = "pi-leetcode-tools:ready:v1"; export declare const DEACTIVATED_CHANNEL = "pi-leetcode-tools:deactivated:v1"; export declare const DEFAULT_RPC_TIMEOUT_MS = 10000; export declare const TOOL_ERROR_CODES: readonly ["VALIDATION_ERROR", "AUTH_REQUIRED", "AUTH_EXPIRED", "PERMISSION_DENIED", "INTERACTION_REQUIRED", "NOT_FOUND", "RATE_LIMITED", "REMOTE_UNAVAILABLE", "EXECUTION_FAILED", "UNSUPPORTED_REGION", "STALE_OPERATION", "STALE_CURSOR", "UNKNOWN_WRITE_OUTCOME", "CANCELLED", "CAPABILITY_UNAVAILABLE", "REMOTE_SCHEMA_CHANGED", "PROVIDER_CONFLICT", "CONTRACT_MISMATCH", "PROTOCOL_TIMEOUT"]; export declare const TOOL_NAMES: readonly ["lc_daily", "lc_search", "lc_problem", "lc_solution_search", "lc_solution", "lc_profile", "lc_contest", "lc_progress", "lc_history", "lc_user_submissions", "lc_submission", "lc_run", "lc_submit", "lc_operation_status"]; export type ToolName = (typeof TOOL_NAMES)[number]; export declare const CANONICAL_LANGUAGE_IDS: readonly ["bash", "c", "cpp", "csharp", "cangjie", "dart", "elixir", "erlang", "go", "java", "javascript", "kotlin", "mysql", "mssql", "oracle", "php", "python", "python3", "racket", "ruby", "rust", "scala", "swift", "typescript"]; export type CanonicalLanguage = (typeof CANONICAL_LANGUAGE_IDS)[number]; export type ContractRegion = "global" | "cn"; export declare const UPSTREAM_PROGRAMMING_LANGS: readonly ["cpp", "java", "python", "python3", "c", "csharp", "javascript", "typescript", "php", "swift", "kotlin", "dart", "golang", "ruby", "scala", "rust", "racket", "erlang", "elixir", "cangjie"]; export declare const PROBLEM_CATEGORIES: readonly ["all-code-essentials", "algorithms", "database", "pandas", "javascript", "shell", "concurrency"]; export declare const PROBLEM_TAGS: readonly ["array", "string", "hash-table", "dynamic-programming", "math", "sorting", "greedy", "depth-first-search", "binary-search", "database", "tree", "breadth-first-search", "matrix", "bit-manipulation", "two-pointers", "binary-tree", "heap-priority-queue", "prefix-sum", "stack", "simulation", "graph", "counting", "sliding-window", "design", "backtracking", "enumeration", "linked-list", "union-find", "ordered-set", "monotonic-stack", "number-theory", "trie", "segment-tree", "recursion", "divide-and-conquer", "queue", "combinatorics", "binary-search-tree", "bitmask", "memoization", "geometry", "binary-indexed-tree", "hash-function", "topological-sort", "string-matching", "shortest-path", "rolling-hash", "game-theory", "data-stream", "interactive", "monotonic-queue", "brainteaser", "doubly-linked-list", "merge-sort", "randomized", "quickselect", "counting-sort", "iterator", "probability-and-statistics", "concurrency", "bucket-sort", "suffix-array", "line-sweep", "minimum-spanning-tree", "shell", "reservoir-sampling", "strongly-connected-component", "eulerian-circuit", "radix-sort", "biconnected-component", "rejection-sampling"]; /** * Explicit site identifiers. Even entries whose spelling currently matches the * canonical id are listed so adapters never pass canonical ids through by * accident. LeetCode calls Go `golang` and Oracle SQL `oraclesql`. */ export declare const LANGUAGE_REMOTE_IDS: Readonly>>>; export declare function canonicalLanguageToRemote(region: ContractRegion, language: string): string | undefined; export declare function remoteLanguageToCanonical(region: ContractRegion, remoteLanguage: string): CanonicalLanguage | undefined; export declare const MAX_TESTCASE_BYTES = 200000; export declare const DIGEST_CANONICALIZATION = "RFC8785/JCS"; export declare const DIGEST_ENCODING = "UTF-8"; export declare const DIGEST_ALGORITHM = "SHA-256"; export declare const RegionSchema: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; export declare const DifficultySchema: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; export declare const LanguageSchema: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; /** * Execution tools additionally accept the one upstream spelling that differs * from the package's canonical vocabulary. Results and ledger records always * normalize this alias back to `go`. */ export declare const ExecutionLanguageSchema: Type.TUnion<[Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>, Type.TLiteral<"golang">]>; export declare const ToolNameSchema: Type.TUnion<[Type.TLiteral<"lc_daily">, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; export declare const ToolErrorCodeSchema: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; export declare const TitleSlugSchema: Type.TString; export declare const UsernameSchema: Type.TString; export declare const SubmissionIdSchema: Type.TString; export declare const SolutionTopicIdSchema: Type.TString; export declare const SolutionSlugSchema: Type.TString; export declare const TestcaseSchema: Type.TString; export declare const OperationIdSchema: Type.TString; export declare const DailyInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; }>; export declare const SearchInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; category: Type.TOptional; query: Type.TOptional; tags: Type.TOptional>; difficulty: Type.TOptional, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>>; limit: Type.TOptional; offset: Type.TOptional; cursor: Type.TOptional; }>; export declare const ProblemInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; includeResourcePayload: Type.TOptional; }>; export declare const SolutionSearchInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; limit: Type.TOptional; offset: Type.TOptional; orderBy: Type.TOptional, Type.TLiteral<"MOST_RECENT">, Type.TLiteral<"MOST_VOTES">, Type.TLiteral<"DEFAULT">, Type.TLiteral<"MOST_UPVOTE">, Type.TLiteral<"NEWEST_TO_OLDEST">, Type.TLiteral<"OLDEST_TO_NEWEST">]>>; query: Type.TOptional; tags: Type.TOptional>; }>; export declare const SolutionInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; topicId: Type.TOptional; slug: Type.TOptional; }>; export declare const ProfileInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; username: Type.TString; }>; export declare const ContestInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; username: Type.TString; attendedOnly: Type.TOptional; limit: Type.TOptional; offset: Type.TOptional; }>; export declare const ProgressInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">]>>; difficulty: Type.TOptional, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>>>; limit: Type.TOptional; offset: Type.TOptional; }>; export declare const HistoryInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; scope: Type.TOptional, Type.TLiteral<"problem">]>>; titleSlug: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional, Type.TLiteral<"wrong_answer">]>>; limit: Type.TOptional; offset: Type.TOptional; cursor: Type.TOptional; }>; export declare const UserSubmissionsInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; limit: Type.TOptional; }>; export declare const SubmissionDetailInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; submissionId: Type.TString; includeCode: Type.TOptional; }>; export declare const RunInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; language: Type.TUnion<[Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>, Type.TLiteral<"golang">]>; code: Type.TString; testcase: Type.TOptional; timeoutMs: Type.TOptional; pollIntervalMs: Type.TOptional; }>; export declare const SubmitInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; language: Type.TUnion<[Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>, Type.TLiteral<"golang">]>; code: Type.TString; retryUnknownOperationId: Type.TOptional; resubmitCompletedOperationId: Type.TOptional; timeoutMs: Type.TOptional; pollIntervalMs: Type.TOptional; }>; export declare const OperationStatusInputSchema: Type.TObject<{ operationId: Type.TString; }>; export declare const NotesReadInputSchema: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; target: Type.TString; }>; export declare const NotesWriteInputSchema: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; target: Type.TString; content: Type.TString; expectedRevision: Type.TUnion<[Type.TString, Type.TNull]>; }>; /** * Current-account personal Notes API. These schemas intentionally remain * separate from NotesReadInputSchema/NotesWriteInputSchema, which describe the * revisioned state port. */ export declare const UserNotesSearchInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; keyword: Type.TOptional; limit: Type.TOptional; skip: Type.TOptional; orderBy: Type.TOptional, Type.TLiteral<"DESCENDING">]>>; }>; export declare const UserNotesGetInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; questionId: Type.TString; limit: Type.TOptional; skip: Type.TOptional; }>; export declare const UserNotesCreateInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; questionId: Type.TString; content: Type.TString; title: Type.TOptional; }>; export declare const UserNotesUpdateInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; noteId: Type.TString; content: Type.TOptional; title: Type.TOptional; }>; export declare const TopicTagSchema: Type.TObject<{ name: Type.TString; slug: Type.TString; translatedName: Type.TOptional; }>; export declare const ProblemSummarySchema: Type.TObject<{ questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; export declare const CodeSnippetSchema: Type.TObject<{ language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>; export declare const ProblemResourcePayloadSchema: Type.TObject<{ questionId: Type.TString; questionFrontendId: Type.TString; boundTopicId: Type.TUnion<[Type.TString, Type.TNull]>; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>; export declare const RegionalDailyPayloadSchema: Type.TUnion<[Type.TObject<{ date: Type.TString; link: Type.TString; question: Type.TObject<{ questionId: Type.TString; questionFrontendId: Type.TString; boundTopicId: Type.TUnion<[Type.TString, Type.TNull]>; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>; }>, Type.TObject<{ date: Type.TString; userStatus: Type.TUnion<[Type.TString, Type.TNull]>; question: Type.TObject<{ questionId: Type.TString; frontendQuestionId: Type.TString; title: Type.TString; titleCn: Type.TString; titleSlug: Type.TString; difficulty: Type.TString; paidOnly: Type.TBoolean; acRate: Type.TNumber; status: Type.TUnion<[Type.TString, Type.TNull]>; freqBar: Type.TUnion<[Type.TNumber, Type.TNull]>; isFavor: Type.TBoolean; solutionNum: Type.TInteger; hasVideoSolution: Type.TBoolean; topicTags: Type.TArray; id: Type.TString; nameTranslated: Type.TString; }>>; extra: Type.TObject<{ topCompanyTags: Type.TArray>; }>; }>; lastSubmission: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TNull]>; }>]>; export declare const ProblemDetailSchema: Type.TObject<{ content: Type.TString; translatedContent: Type.TOptional; defaultTestcase: Type.TOptional; exampleTestcases: Type.TArray; availableLanguages: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; selectedCodeSnippet: Type.TUnion<[Type.TObject<{ language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>, Type.TNull]>; enableRunCode: Type.TBoolean; hints: Type.TArray; similarQuestions: Type.TArray, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; }>>; codeSnippets: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>>; resourcePayload: Type.TOptional; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>>; questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; export declare const DailyChallengeSchema: Type.TObject<{ date: Type.TString; link: Type.TString; problem: Type.TObject<{ questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; regionalPayload: Type.TUnion<[Type.TObject<{ date: Type.TString; link: Type.TString; question: Type.TObject<{ questionId: Type.TString; questionFrontendId: Type.TString; boundTopicId: Type.TUnion<[Type.TString, Type.TNull]>; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>; }>, Type.TObject<{ date: Type.TString; userStatus: Type.TUnion<[Type.TString, Type.TNull]>; question: Type.TObject<{ questionId: Type.TString; frontendQuestionId: Type.TString; title: Type.TString; titleCn: Type.TString; titleSlug: Type.TString; difficulty: Type.TString; paidOnly: Type.TBoolean; acRate: Type.TNumber; status: Type.TUnion<[Type.TString, Type.TNull]>; freqBar: Type.TUnion<[Type.TNumber, Type.TNull]>; isFavor: Type.TBoolean; solutionNum: Type.TInteger; hasVideoSolution: Type.TBoolean; topicTags: Type.TArray; id: Type.TString; nameTranslated: Type.TString; }>>; extra: Type.TObject<{ topCompanyTags: Type.TArray>; }>; }>; lastSubmission: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TNull]>; }>]>; }>; export declare const PageInfoSchema: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; export declare const SearchProblemsResultSchema: Type.TObject<{ items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; export declare const SolutionArticleSummarySchema: Type.TObject<{ topicId: Type.TString; slug: Type.TOptional; title: Type.TOptional; summary: Type.TOptional; canSee: Type.TBoolean; hasVideoArticle: Type.TOptional; coverUrl: Type.TOptional; }>; export declare const SolutionSearchResultSchema: Type.TObject<{ titleSlug: Type.TString; items: Type.TArray; title: Type.TOptional; summary: Type.TOptional; canSee: Type.TBoolean; hasVideoArticle: Type.TOptional; coverUrl: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; export declare const SolutionNavigationSchema: Type.TObject<{ topicId: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>; export declare const SolutionDetailSchema: Type.TObject<{ title: Type.TString; slug: Type.TString; topicId: Type.TOptional; questionSlug: Type.TOptional; content: Type.TString; tags: Type.TArray; prev: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; next: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; }>; export declare const ProgressProblemSchema: Type.TObject<{ frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; lastSubmittedAt: Type.TOptional; numSubmitted: Type.TOptional; lastResult: Type.TOptional; }>; export declare const ProblemProgressResultSchema: Type.TObject<{ filters: Type.TObject<{ offset: Type.TInteger; limit: Type.TInteger; questionStatus: Type.TOptional, Type.TLiteral<"ATTEMPTED">]>>; difficulty: Type.TOptional, Type.TLiteral<"MEDIUM">, Type.TLiteral<"HARD">]>>>; }>; items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; lastSubmittedAt: Type.TOptional; numSubmitted: Type.TOptional; lastResult: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; export declare const SubmissionRecordSchema: Type.TObject<{ id: Type.TString; title: Type.TString; titleSlug: Type.TOptional; frontendId: Type.TOptional; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TString; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; pending: Type.TOptional; }>; export declare const SubmissionHistoryResultSchema: Type.TObject<{ items: Type.TArray; frontendId: Type.TOptional; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TString; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; pending: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; export declare const PublicSubmissionRecordSchema: Type.TObject<{ id: Type.TOptional; title: Type.TString; titleSlug: Type.TString; frontendId: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional; timestamp: Type.TOptional; }>; export declare const UserSubmissionsResultSchema: Type.TObject<{ username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; items: Type.TArray; title: Type.TString; titleSlug: Type.TString; frontendId: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional; timestamp: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; export declare const DifficultyCountSchema: Type.TObject<{ difficulty: Type.TString; count: Type.TInteger; submissions: Type.TOptional; }>; export declare const UserProfileSchema: Type.TObject<{ username: Type.TString; realName: Type.TOptional; avatar: Type.TOptional; aboutMe: Type.TOptional; country: Type.TOptional; location: Type.TOptional; company: Type.TOptional; school: Type.TOptional; githubUrl: Type.TOptional; ranking: Type.TOptional; siteRanking: Type.TOptional; totalSubmissions: Type.TOptional; }>>>; acceptedQuestions: Type.TOptional; }>>>; failedQuestions: Type.TOptional; }>>>; untouchedQuestions: Type.TOptional; }>>>; socialAccounts: Type.TOptional; profileUrl: Type.TString; }>>>; skillTopics: Type.TOptional>; topicAreaScores: Type.TOptional>>; }>; export declare const ContestRankingSchema: Type.TObject<{ attendedContestsCount: Type.TOptional; rating: Type.TOptional; globalRanking: Type.TOptional; localRanking: Type.TOptional; globalTotalParticipants: Type.TOptional; localTotalParticipants: Type.TOptional; topPercentage: Type.TOptional; badge: Type.TOptional; }>; export declare const ContestHistoryRecordSchema: Type.TObject<{ attended: Type.TBoolean; title: Type.TString; translatedTitle: Type.TOptional; startTime: Type.TOptional; totalProblems: Type.TOptional; solvedProblems: Type.TOptional; finishTimeSeconds: Type.TOptional; rating: Type.TOptional; score: Type.TOptional; ranking: Type.TOptional; trend: Type.TOptional; }>; export declare const UserContestResultSchema: Type.TObject<{ username: Type.TString; ranking: Type.TOptional; rating: Type.TOptional; globalRanking: Type.TOptional; localRanking: Type.TOptional; globalTotalParticipants: Type.TOptional; localTotalParticipants: Type.TOptional; topPercentage: Type.TOptional; badge: Type.TOptional; }>>; history: Type.TArray; startTime: Type.TOptional; totalProblems: Type.TOptional; solvedProblems: Type.TOptional; finishTimeSeconds: Type.TOptional; rating: Type.TOptional; score: Type.TOptional; ranking: Type.TOptional; trend: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; export declare const UserStatusInputSchema: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; }>; export declare const UserStatusSchema: Type.TUnion<[Type.TObject<{ isSignedIn: Type.TLiteral; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>, Type.TObject<{ isSignedIn: Type.TLiteral; username: Type.TString; displayName: Type.TOptional; avatar: Type.TOptional; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>]>; export declare const SubmissionDetailSchema: Type.TObject<{ id: Type.TString; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TOptional; statusCode: Type.TOptional; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; runtimePercentile: Type.TOptional; memoryPercentile: Type.TOptional; passedTestCases: Type.TOptional; totalTestCases: Type.TOptional; code: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; lastTestcase: Type.TOptional; codeOutput: Type.TOptional; expectedOutput: Type.TOptional; stdout: Type.TOptional; }>; export declare const OperationKindSchema: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; export declare const OperationStateSchema: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; export declare const JudgeResultSchema: Type.TObject<{ state: Type.TString; verdict: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>; export declare const OperationStatusSchema: Type.TObject<{ operationId: Type.TString; kind: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; state: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; codeHash: Type.TString; createdAt: Type.TString; updatedAt: Type.TString; remoteId: Type.TOptional; questionId: Type.TOptional; start: Type.TOptional>; checkUrl: Type.TOptional; check: Type.TOptional>; supersedesOperationId: Type.TOptional; repeatsOperationId: Type.TOptional; result: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>>; errorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; export declare const NotesRevisionModeSchema: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; export declare const ToolCapabilitySchema: Type.TObject<{ name: Type.TUnion<[Type.TLiteral<"lc_daily">, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>; export declare const NotesCapabilitySchema: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; export declare const NotesCapabilitiesSchema: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; export declare const StaticToolCapabilitySchema: Type.TObject<{ name: Type.TUnion<[Type.TLiteral<"lc_daily">, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>; export declare const StaticNotesCapabilitySchema: Type.TObject<{ supported: Type.TBoolean; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; export declare const StaticCapabilityManifestSchema: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; supportedRegions: Type.TArray, Type.TLiteral<"cn">]>>; tools: Type.TArray, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>>; notesPort: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; }>; export declare const ReadinessValueSchema: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; export declare const RegionReadinessSchema: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; export declare const CapabilitySnapshotSchema: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; snapshotRevision: Type.TInteger; observedAt: Type.TString; supportedRegions: Type.TArray, Type.TLiteral<"cn">]>>; tools: Type.TArray, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>>; notesPort: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; regionReadiness: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; cn: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; }>; interactiveUI: Type.TBoolean; }>; /** Backwards-compatible descriptor name used by the current Gateway API. */ export declare const CapabilityManifestSchema: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; snapshotRevision: Type.TInteger; observedAt: Type.TString; supportedRegions: Type.TArray, Type.TLiteral<"cn">]>>; tools: Type.TArray, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>>; notesPort: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; regionReadiness: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; cn: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; }>; interactiveUI: Type.TBoolean; }>; export declare const DiagnosticRegionSnapshotSchema: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; export declare const DiagnosticsSnapshotSchema: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; snapshotRevision: Type.TInteger; observedAt: Type.TString; providerConflict: Type.TBoolean; storageWritable: Type.TBoolean; regions: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; cn: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; }>; }>; export declare const NotesDocumentSchema: Type.TObject<{ target: Type.TString; content: Type.TString; byteLength: Type.TInteger; revision: Type.TUnion<[Type.TString, Type.TNull]>; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; updatedAt: Type.TOptional; }>; export declare const UserNoteQuestionSchema: Type.TObject<{ linkTemplate: Type.TString; questionId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional>; }>; export declare const UserNoteSchema: Type.TObject<{ id: Type.TString; summary: Type.TString; content: Type.TString; noteQuestion: Type.TOptional>; }>, Type.TNull]>>; }>; export declare const UserNotesSearchResultSchema: Type.TObject<{ filters: Type.TObject<{ keyword: Type.TOptional; orderBy: Type.TUnion<[Type.TLiteral<"ASCENDING">, Type.TLiteral<"DESCENDING">]>; }>; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; totalCount: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; export declare const UserNotesGetResultSchema: Type.TObject<{ questionId: Type.TString; count: Type.TInteger; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; export declare const UserNoteMutationNoteSchema: Type.TObject<{ id: Type.TString; content: Type.TString; targetId: Type.TString; }>; export declare const UserNoteMutationResultSchema: Type.TObject<{ success: Type.TBoolean; note: Type.TUnion<[Type.TObject<{ id: Type.TString; content: Type.TString; targetId: Type.TString; }>, Type.TNull]>; }>; export declare const ToolMetaSchema: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; export declare const ToolErrorSchema: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; export declare const ToolFailureSchema: Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>; export declare const DailyToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ date: Type.TString; link: Type.TString; problem: Type.TObject<{ questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; regionalPayload: Type.TUnion<[Type.TObject<{ date: Type.TString; link: Type.TString; question: Type.TObject<{ questionId: Type.TString; questionFrontendId: Type.TString; boundTopicId: Type.TUnion<[Type.TString, Type.TNull]>; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>; }>, Type.TObject<{ date: Type.TString; userStatus: Type.TUnion<[Type.TString, Type.TNull]>; question: Type.TObject<{ questionId: Type.TString; frontendQuestionId: Type.TString; title: Type.TString; titleCn: Type.TString; titleSlug: Type.TString; difficulty: Type.TString; paidOnly: Type.TBoolean; acRate: Type.TNumber; status: Type.TUnion<[Type.TString, Type.TNull]>; freqBar: Type.TUnion<[Type.TNumber, Type.TNull]>; isFavor: Type.TBoolean; solutionNum: Type.TInteger; hasVideoSolution: Type.TBoolean; topicTags: Type.TArray; id: Type.TString; nameTranslated: Type.TString; }>>; extra: Type.TObject<{ topCompanyTags: Type.TArray>; }>; }>; lastSubmission: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TNull]>; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const SearchToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const ProblemToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ content: Type.TString; translatedContent: Type.TOptional; defaultTestcase: Type.TOptional; exampleTestcases: Type.TArray; availableLanguages: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; selectedCodeSnippet: Type.TUnion<[Type.TObject<{ language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>, Type.TNull]>; enableRunCode: Type.TBoolean; hints: Type.TArray; similarQuestions: Type.TArray, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; }>>; codeSnippets: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>>; resourcePayload: Type.TOptional; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>>; questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const SolutionSearchToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ titleSlug: Type.TString; items: Type.TArray; title: Type.TOptional; summary: Type.TOptional; canSee: Type.TBoolean; hasVideoArticle: Type.TOptional; coverUrl: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const SolutionToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ title: Type.TString; slug: Type.TString; topicId: Type.TOptional; questionSlug: Type.TOptional; content: Type.TString; tags: Type.TArray; prev: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; next: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const ProfileToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; realName: Type.TOptional; avatar: Type.TOptional; aboutMe: Type.TOptional; country: Type.TOptional; location: Type.TOptional; company: Type.TOptional; school: Type.TOptional; githubUrl: Type.TOptional; ranking: Type.TOptional; siteRanking: Type.TOptional; totalSubmissions: Type.TOptional; }>>>; acceptedQuestions: Type.TOptional; }>>>; failedQuestions: Type.TOptional; }>>>; untouchedQuestions: Type.TOptional; }>>>; socialAccounts: Type.TOptional; profileUrl: Type.TString; }>>>; skillTopics: Type.TOptional>; topicAreaScores: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const ContestToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; ranking: Type.TOptional; rating: Type.TOptional; globalRanking: Type.TOptional; localRanking: Type.TOptional; globalTotalParticipants: Type.TOptional; localTotalParticipants: Type.TOptional; topPercentage: Type.TOptional; badge: Type.TOptional; }>>; history: Type.TArray; startTime: Type.TOptional; totalProblems: Type.TOptional; solvedProblems: Type.TOptional; finishTimeSeconds: Type.TOptional; rating: Type.TOptional; score: Type.TOptional; ranking: Type.TOptional; trend: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const ProgressToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ offset: Type.TInteger; limit: Type.TInteger; questionStatus: Type.TOptional, Type.TLiteral<"ATTEMPTED">]>>; difficulty: Type.TOptional, Type.TLiteral<"MEDIUM">, Type.TLiteral<"HARD">]>>>; }>; items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; lastSubmittedAt: Type.TOptional; numSubmitted: Type.TOptional; lastResult: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const HistoryToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; frontendId: Type.TOptional; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TString; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; pending: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const UserSubmissionsToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; items: Type.TArray; title: Type.TString; titleSlug: Type.TString; frontendId: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional; timestamp: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const SubmissionDetailToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ id: Type.TString; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TOptional; statusCode: Type.TOptional; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; runtimePercentile: Type.TOptional; memoryPercentile: Type.TOptional; passedTestCases: Type.TOptional; totalTestCases: Type.TOptional; code: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; lastTestcase: Type.TOptional; codeOutput: Type.TOptional; expectedOutput: Type.TOptional; stdout: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const OperationToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ operationId: Type.TString; kind: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; state: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; codeHash: Type.TString; createdAt: Type.TString; updatedAt: Type.TString; remoteId: Type.TOptional; questionId: Type.TOptional; start: Type.TOptional>; checkUrl: Type.TOptional; check: Type.TOptional>; supersedesOperationId: Type.TOptional; repeatsOperationId: Type.TOptional; result: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>>; errorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const NotesDocumentResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ target: Type.TString; content: Type.TString; byteLength: Type.TInteger; revision: Type.TUnion<[Type.TString, Type.TNull]>; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; updatedAt: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const NotesCapabilitiesResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const DiagnosticsSnapshotResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; snapshotRevision: Type.TInteger; observedAt: Type.TString; providerConflict: Type.TBoolean; storageWritable: Type.TBoolean; regions: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; cn: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; }>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const UserStatusResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TUnion<[Type.TObject<{ isSignedIn: Type.TLiteral; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>, Type.TObject<{ isSignedIn: Type.TLiteral; username: Type.TString; displayName: Type.TOptional; avatar: Type.TOptional; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>]>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const UserNotesSearchToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ keyword: Type.TOptional; orderBy: Type.TUnion<[Type.TLiteral<"ASCENDING">, Type.TLiteral<"DESCENDING">]>; }>; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; totalCount: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const UserNotesGetToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ questionId: Type.TString; count: Type.TInteger; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const UserNoteMutationToolResultSchema: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ success: Type.TBoolean; note: Type.TUnion<[Type.TObject<{ id: Type.TString; content: Type.TString; targetId: Type.TString; }>, Type.TNull]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; export declare const TOOL_INPUT_SCHEMAS: { readonly lc_daily: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; }>; readonly lc_search: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; category: Type.TOptional; query: Type.TOptional; tags: Type.TOptional>; difficulty: Type.TOptional, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>>; limit: Type.TOptional; offset: Type.TOptional; cursor: Type.TOptional; }>; readonly lc_problem: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; includeResourcePayload: Type.TOptional; }>; readonly lc_solution_search: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; limit: Type.TOptional; offset: Type.TOptional; orderBy: Type.TOptional, Type.TLiteral<"MOST_RECENT">, Type.TLiteral<"MOST_VOTES">, Type.TLiteral<"DEFAULT">, Type.TLiteral<"MOST_UPVOTE">, Type.TLiteral<"NEWEST_TO_OLDEST">, Type.TLiteral<"OLDEST_TO_NEWEST">]>>; query: Type.TOptional; tags: Type.TOptional>; }>; readonly lc_solution: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; topicId: Type.TOptional; slug: Type.TOptional; }>; readonly lc_profile: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; username: Type.TString; }>; readonly lc_contest: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; username: Type.TString; attendedOnly: Type.TOptional; limit: Type.TOptional; offset: Type.TOptional; }>; readonly lc_progress: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">]>>; difficulty: Type.TOptional, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>>>; limit: Type.TOptional; offset: Type.TOptional; }>; readonly lc_history: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; scope: Type.TOptional, Type.TLiteral<"problem">]>>; titleSlug: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional, Type.TLiteral<"wrong_answer">]>>; limit: Type.TOptional; offset: Type.TOptional; cursor: Type.TOptional; }>; readonly lc_user_submissions: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; limit: Type.TOptional; }>; readonly lc_submission: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; submissionId: Type.TString; includeCode: Type.TOptional; }>; readonly lc_run: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; language: Type.TUnion<[Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>, Type.TLiteral<"golang">]>; code: Type.TString; testcase: Type.TOptional; timeoutMs: Type.TOptional; pollIntervalMs: Type.TOptional; }>; readonly lc_submit: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; language: Type.TUnion<[Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>, Type.TLiteral<"golang">]>; code: Type.TString; retryUnknownOperationId: Type.TOptional; resubmitCompletedOperationId: Type.TOptional; timeoutMs: Type.TOptional; pollIntervalMs: Type.TOptional; }>; readonly lc_operation_status: Type.TObject<{ operationId: Type.TString; }>; }; export declare const TOOL_OUTPUT_SCHEMAS: { readonly lc_daily: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ date: Type.TString; link: Type.TString; problem: Type.TObject<{ questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; regionalPayload: Type.TUnion<[Type.TObject<{ date: Type.TString; link: Type.TString; question: Type.TObject<{ questionId: Type.TString; questionFrontendId: Type.TString; boundTopicId: Type.TUnion<[Type.TString, Type.TNull]>; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>; }>, Type.TObject<{ date: Type.TString; userStatus: Type.TUnion<[Type.TString, Type.TNull]>; question: Type.TObject<{ questionId: Type.TString; frontendQuestionId: Type.TString; title: Type.TString; titleCn: Type.TString; titleSlug: Type.TString; difficulty: Type.TString; paidOnly: Type.TBoolean; acRate: Type.TNumber; status: Type.TUnion<[Type.TString, Type.TNull]>; freqBar: Type.TUnion<[Type.TNumber, Type.TNull]>; isFavor: Type.TBoolean; solutionNum: Type.TInteger; hasVideoSolution: Type.TBoolean; topicTags: Type.TArray; id: Type.TString; nameTranslated: Type.TString; }>>; extra: Type.TObject<{ topCompanyTags: Type.TArray>; }>; }>; lastSubmission: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TNull]>; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_search: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_problem: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ content: Type.TString; translatedContent: Type.TOptional; defaultTestcase: Type.TOptional; exampleTestcases: Type.TArray; availableLanguages: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; selectedCodeSnippet: Type.TUnion<[Type.TObject<{ language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>, Type.TNull]>; enableRunCode: Type.TBoolean; hints: Type.TArray; similarQuestions: Type.TArray, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; }>>; codeSnippets: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>>; resourcePayload: Type.TOptional; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>>; questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_solution_search: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ titleSlug: Type.TString; items: Type.TArray; title: Type.TOptional; summary: Type.TOptional; canSee: Type.TBoolean; hasVideoArticle: Type.TOptional; coverUrl: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_solution: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ title: Type.TString; slug: Type.TString; topicId: Type.TOptional; questionSlug: Type.TOptional; content: Type.TString; tags: Type.TArray; prev: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; next: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_profile: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; realName: Type.TOptional; avatar: Type.TOptional; aboutMe: Type.TOptional; country: Type.TOptional; location: Type.TOptional; company: Type.TOptional; school: Type.TOptional; githubUrl: Type.TOptional; ranking: Type.TOptional; siteRanking: Type.TOptional; totalSubmissions: Type.TOptional; }>>>; acceptedQuestions: Type.TOptional; }>>>; failedQuestions: Type.TOptional; }>>>; untouchedQuestions: Type.TOptional; }>>>; socialAccounts: Type.TOptional; profileUrl: Type.TString; }>>>; skillTopics: Type.TOptional>; topicAreaScores: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_contest: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; ranking: Type.TOptional; rating: Type.TOptional; globalRanking: Type.TOptional; localRanking: Type.TOptional; globalTotalParticipants: Type.TOptional; localTotalParticipants: Type.TOptional; topPercentage: Type.TOptional; badge: Type.TOptional; }>>; history: Type.TArray; startTime: Type.TOptional; totalProblems: Type.TOptional; solvedProblems: Type.TOptional; finishTimeSeconds: Type.TOptional; rating: Type.TOptional; score: Type.TOptional; ranking: Type.TOptional; trend: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_progress: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ offset: Type.TInteger; limit: Type.TInteger; questionStatus: Type.TOptional, Type.TLiteral<"ATTEMPTED">]>>; difficulty: Type.TOptional, Type.TLiteral<"MEDIUM">, Type.TLiteral<"HARD">]>>>; }>; items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; lastSubmittedAt: Type.TOptional; numSubmitted: Type.TOptional; lastResult: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_history: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; frontendId: Type.TOptional; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TString; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; pending: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_user_submissions: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; items: Type.TArray; title: Type.TString; titleSlug: Type.TString; frontendId: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional; timestamp: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_submission: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ id: Type.TString; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TOptional; statusCode: Type.TOptional; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; runtimePercentile: Type.TOptional; memoryPercentile: Type.TOptional; passedTestCases: Type.TOptional; totalTestCases: Type.TOptional; code: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; lastTestcase: Type.TOptional; codeOutput: Type.TOptional; expectedOutput: Type.TOptional; stdout: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_run: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ operationId: Type.TString; kind: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; state: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; codeHash: Type.TString; createdAt: Type.TString; updatedAt: Type.TString; remoteId: Type.TOptional; questionId: Type.TOptional; start: Type.TOptional>; checkUrl: Type.TOptional; check: Type.TOptional>; supersedesOperationId: Type.TOptional; repeatsOperationId: Type.TOptional; result: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>>; errorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_submit: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ operationId: Type.TString; kind: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; state: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; codeHash: Type.TString; createdAt: Type.TString; updatedAt: Type.TString; remoteId: Type.TOptional; questionId: Type.TOptional; start: Type.TOptional>; checkUrl: Type.TOptional; check: Type.TOptional>; supersedesOperationId: Type.TOptional; repeatsOperationId: Type.TOptional; result: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>>; errorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; readonly lc_operation_status: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ operationId: Type.TString; kind: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; state: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; codeHash: Type.TString; createdAt: Type.TString; updatedAt: Type.TString; remoteId: Type.TOptional; questionId: Type.TOptional; start: Type.TOptional>; checkUrl: Type.TOptional; check: Type.TOptional>; supersedesOperationId: Type.TOptional; repeatsOperationId: Type.TOptional; result: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>>; errorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; export interface ToolInputByName { lc_daily: Static; lc_search: Static; lc_problem: Static; lc_solution_search: Static; lc_solution: Static; lc_profile: Static; lc_contest: Static; lc_progress: Static; lc_history: Static; lc_user_submissions: Static; lc_submission: Static; lc_run: Static; lc_submit: Static; lc_operation_status: Static; } export declare const GATEWAY_RPC_METHODS: readonly ["tool.execute", "notes.capabilities", "notes.read", "notes.write", "notes.search", "notes.get", "notes.create", "notes.update", "user.status", "diagnostics.getSnapshot"]; export type GatewayRpcMethodName = (typeof GATEWAY_RPC_METHODS)[number]; export declare const GatewayRpcMethodSchema: Type.TUnion<[Type.TLiteral<"tool.execute">, Type.TLiteral<"notes.capabilities">, Type.TLiteral<"notes.read">, Type.TLiteral<"notes.write">, Type.TLiteral<"notes.search">, Type.TLiteral<"notes.get">, Type.TLiteral<"notes.create">, Type.TLiteral<"notes.update">, Type.TLiteral<"user.status">, Type.TLiteral<"diagnostics.getSnapshot">]>; export declare const GatewayDiscoveryRequestSchema: Type.TObject<{ protocolVersion: Type.TLiteral<"1.0.0">; requestId: Type.TString; respond: Type.TAny; }>; export declare const GatewayDiscoveryResponseSchema: Type.TObject<{ protocolVersion: Type.TLiteral<"1.0.0">; requestId: Type.TString; descriptor: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; snapshotRevision: Type.TInteger; observedAt: Type.TString; supportedRegions: Type.TArray, Type.TLiteral<"cn">]>>; tools: Type.TArray, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>>; notesPort: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; regionReadiness: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; cn: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; }>; interactiveUI: Type.TBoolean; }>; }>; export declare const GatewayRpcRequestSchema: Type.TObject<{ protocolVersion: Type.TString; requestId: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; method: Type.TUnion<[Type.TLiteral<"tool.execute">, Type.TLiteral<"notes.capabilities">, Type.TLiteral<"notes.read">, Type.TLiteral<"notes.write">, Type.TLiteral<"notes.search">, Type.TLiteral<"notes.get">, Type.TLiteral<"notes.create">, Type.TLiteral<"notes.update">, Type.TLiteral<"user.status">, Type.TLiteral<"diagnostics.getSnapshot">]>; params: Type.TAny; deadlineAt: Type.TInteger; respond: Type.TAny; }>; export declare const GatewayResultSchema: Type.TUnion<[Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ date: Type.TString; link: Type.TString; problem: Type.TObject<{ questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; regionalPayload: Type.TUnion<[Type.TObject<{ date: Type.TString; link: Type.TString; question: Type.TObject<{ questionId: Type.TString; questionFrontendId: Type.TString; boundTopicId: Type.TUnion<[Type.TString, Type.TNull]>; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>; }>, Type.TObject<{ date: Type.TString; userStatus: Type.TUnion<[Type.TString, Type.TNull]>; question: Type.TObject<{ questionId: Type.TString; frontendQuestionId: Type.TString; title: Type.TString; titleCn: Type.TString; titleSlug: Type.TString; difficulty: Type.TString; paidOnly: Type.TBoolean; acRate: Type.TNumber; status: Type.TUnion<[Type.TString, Type.TNull]>; freqBar: Type.TUnion<[Type.TNumber, Type.TNull]>; isFavor: Type.TBoolean; solutionNum: Type.TInteger; hasVideoSolution: Type.TBoolean; topicTags: Type.TArray; id: Type.TString; nameTranslated: Type.TString; }>>; extra: Type.TObject<{ topCompanyTags: Type.TArray>; }>; }>; lastSubmission: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TNull]>; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ content: Type.TString; translatedContent: Type.TOptional; defaultTestcase: Type.TOptional; exampleTestcases: Type.TArray; availableLanguages: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; selectedCodeSnippet: Type.TUnion<[Type.TObject<{ language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>, Type.TNull]>; enableRunCode: Type.TBoolean; hints: Type.TArray; similarQuestions: Type.TArray, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; }>>; codeSnippets: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>>; resourcePayload: Type.TOptional; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>>; questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ titleSlug: Type.TString; items: Type.TArray; title: Type.TOptional; summary: Type.TOptional; canSee: Type.TBoolean; hasVideoArticle: Type.TOptional; coverUrl: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ title: Type.TString; slug: Type.TString; topicId: Type.TOptional; questionSlug: Type.TOptional; content: Type.TString; tags: Type.TArray; prev: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; next: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; realName: Type.TOptional; avatar: Type.TOptional; aboutMe: Type.TOptional; country: Type.TOptional; location: Type.TOptional; company: Type.TOptional; school: Type.TOptional; githubUrl: Type.TOptional; ranking: Type.TOptional; siteRanking: Type.TOptional; totalSubmissions: Type.TOptional; }>>>; acceptedQuestions: Type.TOptional; }>>>; failedQuestions: Type.TOptional; }>>>; untouchedQuestions: Type.TOptional; }>>>; socialAccounts: Type.TOptional; profileUrl: Type.TString; }>>>; skillTopics: Type.TOptional>; topicAreaScores: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; ranking: Type.TOptional; rating: Type.TOptional; globalRanking: Type.TOptional; localRanking: Type.TOptional; globalTotalParticipants: Type.TOptional; localTotalParticipants: Type.TOptional; topPercentage: Type.TOptional; badge: Type.TOptional; }>>; history: Type.TArray; startTime: Type.TOptional; totalProblems: Type.TOptional; solvedProblems: Type.TOptional; finishTimeSeconds: Type.TOptional; rating: Type.TOptional; score: Type.TOptional; ranking: Type.TOptional; trend: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ offset: Type.TInteger; limit: Type.TInteger; questionStatus: Type.TOptional, Type.TLiteral<"ATTEMPTED">]>>; difficulty: Type.TOptional, Type.TLiteral<"MEDIUM">, Type.TLiteral<"HARD">]>>>; }>; items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; lastSubmittedAt: Type.TOptional; numSubmitted: Type.TOptional; lastResult: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; frontendId: Type.TOptional; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TString; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; pending: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; items: Type.TArray; title: Type.TString; titleSlug: Type.TString; frontendId: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional; timestamp: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ id: Type.TString; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TOptional; statusCode: Type.TOptional; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; runtimePercentile: Type.TOptional; memoryPercentile: Type.TOptional; passedTestCases: Type.TOptional; totalTestCases: Type.TOptional; code: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; lastTestcase: Type.TOptional; codeOutput: Type.TOptional; expectedOutput: Type.TOptional; stdout: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ operationId: Type.TString; kind: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; state: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; codeHash: Type.TString; createdAt: Type.TString; updatedAt: Type.TString; remoteId: Type.TOptional; questionId: Type.TOptional; start: Type.TOptional>; checkUrl: Type.TOptional; check: Type.TOptional>; supersedesOperationId: Type.TOptional; repeatsOperationId: Type.TOptional; result: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>>; errorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ target: Type.TString; content: Type.TString; byteLength: Type.TInteger; revision: Type.TUnion<[Type.TString, Type.TNull]>; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; updatedAt: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ keyword: Type.TOptional; orderBy: Type.TUnion<[Type.TLiteral<"ASCENDING">, Type.TLiteral<"DESCENDING">]>; }>; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; totalCount: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ questionId: Type.TString; count: Type.TInteger; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ success: Type.TBoolean; note: Type.TUnion<[Type.TObject<{ id: Type.TString; content: Type.TString; targetId: Type.TString; }>, Type.TNull]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TUnion<[Type.TObject<{ isSignedIn: Type.TLiteral; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>, Type.TObject<{ isSignedIn: Type.TLiteral; username: Type.TString; displayName: Type.TOptional; avatar: Type.TOptional; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>]>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; snapshotRevision: Type.TInteger; observedAt: Type.TString; providerConflict: Type.TBoolean; storageWritable: Type.TBoolean; regions: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; cn: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; }>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>]>; export declare const GatewayRpcResponseSchema: Type.TObject<{ protocolVersion: Type.TLiteral<"1.0.0">; requestId: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; result: Type.TUnion<[Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ date: Type.TString; link: Type.TString; problem: Type.TObject<{ questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; regionalPayload: Type.TUnion<[Type.TObject<{ date: Type.TString; link: Type.TString; question: Type.TObject<{ questionId: Type.TString; questionFrontendId: Type.TString; boundTopicId: Type.TUnion<[Type.TString, Type.TNull]>; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>; }>, Type.TObject<{ date: Type.TString; userStatus: Type.TUnion<[Type.TString, Type.TNull]>; question: Type.TObject<{ questionId: Type.TString; frontendQuestionId: Type.TString; title: Type.TString; titleCn: Type.TString; titleSlug: Type.TString; difficulty: Type.TString; paidOnly: Type.TBoolean; acRate: Type.TNumber; status: Type.TUnion<[Type.TString, Type.TNull]>; freqBar: Type.TUnion<[Type.TNumber, Type.TNull]>; isFavor: Type.TBoolean; solutionNum: Type.TInteger; hasVideoSolution: Type.TBoolean; topicTags: Type.TArray; id: Type.TString; nameTranslated: Type.TString; }>>; extra: Type.TObject<{ topCompanyTags: Type.TArray>; }>; }>; lastSubmission: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TNull]>; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ content: Type.TString; translatedContent: Type.TOptional; defaultTestcase: Type.TOptional; exampleTestcases: Type.TArray; availableLanguages: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; selectedCodeSnippet: Type.TUnion<[Type.TObject<{ language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>, Type.TNull]>; enableRunCode: Type.TBoolean; hints: Type.TArray; similarQuestions: Type.TArray, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; }>>; codeSnippets: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>>; resourcePayload: Type.TOptional; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>>; questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ titleSlug: Type.TString; items: Type.TArray; title: Type.TOptional; summary: Type.TOptional; canSee: Type.TBoolean; hasVideoArticle: Type.TOptional; coverUrl: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ title: Type.TString; slug: Type.TString; topicId: Type.TOptional; questionSlug: Type.TOptional; content: Type.TString; tags: Type.TArray; prev: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; next: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; realName: Type.TOptional; avatar: Type.TOptional; aboutMe: Type.TOptional; country: Type.TOptional; location: Type.TOptional; company: Type.TOptional; school: Type.TOptional; githubUrl: Type.TOptional; ranking: Type.TOptional; siteRanking: Type.TOptional; totalSubmissions: Type.TOptional; }>>>; acceptedQuestions: Type.TOptional; }>>>; failedQuestions: Type.TOptional; }>>>; untouchedQuestions: Type.TOptional; }>>>; socialAccounts: Type.TOptional; profileUrl: Type.TString; }>>>; skillTopics: Type.TOptional>; topicAreaScores: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; ranking: Type.TOptional; rating: Type.TOptional; globalRanking: Type.TOptional; localRanking: Type.TOptional; globalTotalParticipants: Type.TOptional; localTotalParticipants: Type.TOptional; topPercentage: Type.TOptional; badge: Type.TOptional; }>>; history: Type.TArray; startTime: Type.TOptional; totalProblems: Type.TOptional; solvedProblems: Type.TOptional; finishTimeSeconds: Type.TOptional; rating: Type.TOptional; score: Type.TOptional; ranking: Type.TOptional; trend: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ offset: Type.TInteger; limit: Type.TInteger; questionStatus: Type.TOptional, Type.TLiteral<"ATTEMPTED">]>>; difficulty: Type.TOptional, Type.TLiteral<"MEDIUM">, Type.TLiteral<"HARD">]>>>; }>; items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; lastSubmittedAt: Type.TOptional; numSubmitted: Type.TOptional; lastResult: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; frontendId: Type.TOptional; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TString; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; pending: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; items: Type.TArray; title: Type.TString; titleSlug: Type.TString; frontendId: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional; timestamp: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ id: Type.TString; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TOptional; statusCode: Type.TOptional; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; runtimePercentile: Type.TOptional; memoryPercentile: Type.TOptional; passedTestCases: Type.TOptional; totalTestCases: Type.TOptional; code: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; lastTestcase: Type.TOptional; codeOutput: Type.TOptional; expectedOutput: Type.TOptional; stdout: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ operationId: Type.TString; kind: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; state: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; codeHash: Type.TString; createdAt: Type.TString; updatedAt: Type.TString; remoteId: Type.TOptional; questionId: Type.TOptional; start: Type.TOptional>; checkUrl: Type.TOptional; check: Type.TOptional>; supersedesOperationId: Type.TOptional; repeatsOperationId: Type.TOptional; result: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>>; errorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ target: Type.TString; content: Type.TString; byteLength: Type.TInteger; revision: Type.TUnion<[Type.TString, Type.TNull]>; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; updatedAt: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ keyword: Type.TOptional; orderBy: Type.TUnion<[Type.TLiteral<"ASCENDING">, Type.TLiteral<"DESCENDING">]>; }>; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; totalCount: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ questionId: Type.TString; count: Type.TInteger; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ success: Type.TBoolean; note: Type.TUnion<[Type.TObject<{ id: Type.TString; content: Type.TString; targetId: Type.TString; }>, Type.TNull]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TUnion<[Type.TObject<{ isSignedIn: Type.TLiteral; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>, Type.TObject<{ isSignedIn: Type.TLiteral; username: Type.TString; displayName: Type.TOptional; avatar: Type.TOptional; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>]>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; snapshotRevision: Type.TInteger; observedAt: Type.TString; providerConflict: Type.TBoolean; storageWritable: Type.TBoolean; regions: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; cn: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; }>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>]>; }>; export declare const GatewayLifecycleEventSchema: Type.TObject<{ descriptor: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; snapshotRevision: Type.TInteger; observedAt: Type.TString; supportedRegions: Type.TArray, Type.TLiteral<"cn">]>>; tools: Type.TArray, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>>; notesPort: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; regionReadiness: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; cn: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; }>; interactiveUI: Type.TBoolean; }>; }>; export declare const TOOL_CONTRACT_DOCUMENT: { readonly $schema: "https://json-schema.org/draft/2020-12/schema"; readonly packageName: "pi-leetcode-tools"; readonly contractVersion: "1.1.0"; readonly protocolVersion: "1.0.0"; readonly schemas: { readonly meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; readonly error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; readonly failure: Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>; readonly capabilityManifest: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; snapshotRevision: Type.TInteger; observedAt: Type.TString; supportedRegions: Type.TArray, Type.TLiteral<"cn">]>>; tools: Type.TArray, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>>; notesPort: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; regionReadiness: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; cn: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; }>; interactiveUI: Type.TBoolean; }>; readonly notesCapability: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; readonly notesDocument: Type.TObject<{ target: Type.TString; content: Type.TString; byteLength: Type.TInteger; revision: Type.TUnion<[Type.TString, Type.TNull]>; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; updatedAt: Type.TOptional; }>; readonly userNote: Type.TObject<{ id: Type.TString; summary: Type.TString; content: Type.TString; noteQuestion: Type.TOptional>; }>, Type.TNull]>>; }>; readonly userNotesSearchResult: Type.TObject<{ filters: Type.TObject<{ keyword: Type.TOptional; orderBy: Type.TUnion<[Type.TLiteral<"ASCENDING">, Type.TLiteral<"DESCENDING">]>; }>; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; totalCount: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; readonly userNotesGetResult: Type.TObject<{ questionId: Type.TString; count: Type.TInteger; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; readonly userNoteMutationResult: Type.TObject<{ success: Type.TBoolean; note: Type.TUnion<[Type.TObject<{ id: Type.TString; content: Type.TString; targetId: Type.TString; }>, Type.TNull]>; }>; readonly staticCapabilityManifest: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; supportedRegions: Type.TArray, Type.TLiteral<"cn">]>>; tools: Type.TArray, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>>; notesPort: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; }>; readonly operationStatus: Type.TObject<{ operationId: Type.TString; kind: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; state: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; codeHash: Type.TString; createdAt: Type.TString; updatedAt: Type.TString; remoteId: Type.TOptional; questionId: Type.TOptional; start: Type.TOptional>; checkUrl: Type.TOptional; check: Type.TOptional>; supersedesOperationId: Type.TOptional; repeatsOperationId: Type.TOptional; result: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>>; errorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; readonly dailyChallenge: Type.TObject<{ date: Type.TString; link: Type.TString; problem: Type.TObject<{ questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; regionalPayload: Type.TUnion<[Type.TObject<{ date: Type.TString; link: Type.TString; question: Type.TObject<{ questionId: Type.TString; questionFrontendId: Type.TString; boundTopicId: Type.TUnion<[Type.TString, Type.TNull]>; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>; }>, Type.TObject<{ date: Type.TString; userStatus: Type.TUnion<[Type.TString, Type.TNull]>; question: Type.TObject<{ questionId: Type.TString; frontendQuestionId: Type.TString; title: Type.TString; titleCn: Type.TString; titleSlug: Type.TString; difficulty: Type.TString; paidOnly: Type.TBoolean; acRate: Type.TNumber; status: Type.TUnion<[Type.TString, Type.TNull]>; freqBar: Type.TUnion<[Type.TNumber, Type.TNull]>; isFavor: Type.TBoolean; solutionNum: Type.TInteger; hasVideoSolution: Type.TBoolean; topicTags: Type.TArray; id: Type.TString; nameTranslated: Type.TString; }>>; extra: Type.TObject<{ topCompanyTags: Type.TArray>; }>; }>; lastSubmission: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TNull]>; }>]>; }>; readonly searchProblemsResult: Type.TObject<{ items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; readonly problemDetail: Type.TObject<{ content: Type.TString; translatedContent: Type.TOptional; defaultTestcase: Type.TOptional; exampleTestcases: Type.TArray; availableLanguages: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; selectedCodeSnippet: Type.TUnion<[Type.TObject<{ language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>, Type.TNull]>; enableRunCode: Type.TBoolean; hints: Type.TArray; similarQuestions: Type.TArray, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; }>>; codeSnippets: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>>; resourcePayload: Type.TOptional; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>>; questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; readonly solutionSearchResult: Type.TObject<{ titleSlug: Type.TString; items: Type.TArray; title: Type.TOptional; summary: Type.TOptional; canSee: Type.TBoolean; hasVideoArticle: Type.TOptional; coverUrl: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; readonly solutionDetail: Type.TObject<{ title: Type.TString; slug: Type.TString; topicId: Type.TOptional; questionSlug: Type.TOptional; content: Type.TString; tags: Type.TArray; prev: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; next: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; }>; readonly userProfile: Type.TObject<{ username: Type.TString; realName: Type.TOptional; avatar: Type.TOptional; aboutMe: Type.TOptional; country: Type.TOptional; location: Type.TOptional; company: Type.TOptional; school: Type.TOptional; githubUrl: Type.TOptional; ranking: Type.TOptional; siteRanking: Type.TOptional; totalSubmissions: Type.TOptional; }>>>; acceptedQuestions: Type.TOptional; }>>>; failedQuestions: Type.TOptional; }>>>; untouchedQuestions: Type.TOptional; }>>>; socialAccounts: Type.TOptional; profileUrl: Type.TString; }>>>; skillTopics: Type.TOptional>; topicAreaScores: Type.TOptional>>; }>; readonly userContestResult: Type.TObject<{ username: Type.TString; ranking: Type.TOptional; rating: Type.TOptional; globalRanking: Type.TOptional; localRanking: Type.TOptional; globalTotalParticipants: Type.TOptional; localTotalParticipants: Type.TOptional; topPercentage: Type.TOptional; badge: Type.TOptional; }>>; history: Type.TArray; startTime: Type.TOptional; totalProblems: Type.TOptional; solvedProblems: Type.TOptional; finishTimeSeconds: Type.TOptional; rating: Type.TOptional; score: Type.TOptional; ranking: Type.TOptional; trend: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; readonly userStatus: Type.TUnion<[Type.TObject<{ isSignedIn: Type.TLiteral; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>, Type.TObject<{ isSignedIn: Type.TLiteral; username: Type.TString; displayName: Type.TOptional; avatar: Type.TOptional; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>]>; readonly problemProgressResult: Type.TObject<{ filters: Type.TObject<{ offset: Type.TInteger; limit: Type.TInteger; questionStatus: Type.TOptional, Type.TLiteral<"ATTEMPTED">]>>; difficulty: Type.TOptional, Type.TLiteral<"MEDIUM">, Type.TLiteral<"HARD">]>>>; }>; items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; lastSubmittedAt: Type.TOptional; numSubmitted: Type.TOptional; lastResult: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; readonly submissionHistoryResult: Type.TObject<{ items: Type.TArray; frontendId: Type.TOptional; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TString; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; pending: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; readonly userSubmissionsResult: Type.TObject<{ username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; items: Type.TArray; title: Type.TString; titleSlug: Type.TString; frontendId: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional; timestamp: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; readonly submissionDetail: Type.TObject<{ id: Type.TString; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TOptional; statusCode: Type.TOptional; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; runtimePercentile: Type.TOptional; memoryPercentile: Type.TOptional; passedTestCases: Type.TOptional; totalTestCases: Type.TOptional; code: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; lastTestcase: Type.TOptional; codeOutput: Type.TOptional; expectedOutput: Type.TOptional; stdout: Type.TOptional; }>; readonly capabilitySnapshot: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; snapshotRevision: Type.TInteger; observedAt: Type.TString; supportedRegions: Type.TArray, Type.TLiteral<"cn">]>>; tools: Type.TArray, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>>; notesPort: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; regionReadiness: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; cn: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; }>; interactiveUI: Type.TBoolean; }>; readonly diagnosticsSnapshot: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; snapshotRevision: Type.TInteger; observedAt: Type.TString; providerConflict: Type.TBoolean; storageWritable: Type.TBoolean; regions: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; cn: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; }>; }>; }; readonly tools: { [k: string]: { input: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; category: Type.TOptional; query: Type.TOptional; tags: Type.TOptional>; difficulty: Type.TOptional, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>>; limit: Type.TOptional; offset: Type.TOptional; cursor: Type.TOptional; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; includeResourcePayload: Type.TOptional; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; limit: Type.TOptional; offset: Type.TOptional; orderBy: Type.TOptional, Type.TLiteral<"MOST_RECENT">, Type.TLiteral<"MOST_VOTES">, Type.TLiteral<"DEFAULT">, Type.TLiteral<"MOST_UPVOTE">, Type.TLiteral<"NEWEST_TO_OLDEST">, Type.TLiteral<"OLDEST_TO_NEWEST">]>>; query: Type.TOptional; tags: Type.TOptional>; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; topicId: Type.TOptional; slug: Type.TOptional; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; username: Type.TString; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; username: Type.TString; attendedOnly: Type.TOptional; limit: Type.TOptional; offset: Type.TOptional; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">]>>; difficulty: Type.TOptional, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>>>; limit: Type.TOptional; offset: Type.TOptional; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; scope: Type.TOptional, Type.TLiteral<"problem">]>>; titleSlug: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional, Type.TLiteral<"wrong_answer">]>>; limit: Type.TOptional; offset: Type.TOptional; cursor: Type.TOptional; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; limit: Type.TOptional; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; submissionId: Type.TString; includeCode: Type.TOptional; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; language: Type.TUnion<[Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>, Type.TLiteral<"golang">]>; code: Type.TString; testcase: Type.TOptional; timeoutMs: Type.TOptional; pollIntervalMs: Type.TOptional; }> | Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; titleSlug: Type.TString; language: Type.TUnion<[Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>, Type.TLiteral<"golang">]>; code: Type.TString; retryUnknownOperationId: Type.TOptional; resubmitCompletedOperationId: Type.TOptional; timeoutMs: Type.TOptional; pollIntervalMs: Type.TOptional; }> | Type.TObject<{ operationId: Type.TString; }>; output: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ date: Type.TString; link: Type.TString; problem: Type.TObject<{ questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; regionalPayload: Type.TUnion<[Type.TObject<{ date: Type.TString; link: Type.TString; question: Type.TObject<{ questionId: Type.TString; questionFrontendId: Type.TString; boundTopicId: Type.TUnion<[Type.TString, Type.TNull]>; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>; }>, Type.TObject<{ date: Type.TString; userStatus: Type.TUnion<[Type.TString, Type.TNull]>; question: Type.TObject<{ questionId: Type.TString; frontendQuestionId: Type.TString; title: Type.TString; titleCn: Type.TString; titleSlug: Type.TString; difficulty: Type.TString; paidOnly: Type.TBoolean; acRate: Type.TNumber; status: Type.TUnion<[Type.TString, Type.TNull]>; freqBar: Type.TUnion<[Type.TNumber, Type.TNull]>; isFavor: Type.TBoolean; solutionNum: Type.TInteger; hasVideoSolution: Type.TBoolean; topicTags: Type.TArray; id: Type.TString; nameTranslated: Type.TString; }>>; extra: Type.TObject<{ topCompanyTags: Type.TArray>; }>; }>; lastSubmission: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TNull]>; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ content: Type.TString; translatedContent: Type.TOptional; defaultTestcase: Type.TOptional; exampleTestcases: Type.TArray; availableLanguages: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; selectedCodeSnippet: Type.TUnion<[Type.TObject<{ language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>, Type.TNull]>; enableRunCode: Type.TBoolean; hints: Type.TArray; similarQuestions: Type.TArray, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; }>>; codeSnippets: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>>; resourcePayload: Type.TOptional; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>>; questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ titleSlug: Type.TString; items: Type.TArray; title: Type.TOptional; summary: Type.TOptional; canSee: Type.TBoolean; hasVideoArticle: Type.TOptional; coverUrl: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ title: Type.TString; slug: Type.TString; topicId: Type.TOptional; questionSlug: Type.TOptional; content: Type.TString; tags: Type.TArray; prev: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; next: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; realName: Type.TOptional; avatar: Type.TOptional; aboutMe: Type.TOptional; country: Type.TOptional; location: Type.TOptional; company: Type.TOptional; school: Type.TOptional; githubUrl: Type.TOptional; ranking: Type.TOptional; siteRanking: Type.TOptional; totalSubmissions: Type.TOptional; }>>>; acceptedQuestions: Type.TOptional; }>>>; failedQuestions: Type.TOptional; }>>>; untouchedQuestions: Type.TOptional; }>>>; socialAccounts: Type.TOptional; profileUrl: Type.TString; }>>>; skillTopics: Type.TOptional>; topicAreaScores: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; ranking: Type.TOptional; rating: Type.TOptional; globalRanking: Type.TOptional; localRanking: Type.TOptional; globalTotalParticipants: Type.TOptional; localTotalParticipants: Type.TOptional; topPercentage: Type.TOptional; badge: Type.TOptional; }>>; history: Type.TArray; startTime: Type.TOptional; totalProblems: Type.TOptional; solvedProblems: Type.TOptional; finishTimeSeconds: Type.TOptional; rating: Type.TOptional; score: Type.TOptional; ranking: Type.TOptional; trend: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ offset: Type.TInteger; limit: Type.TInteger; questionStatus: Type.TOptional, Type.TLiteral<"ATTEMPTED">]>>; difficulty: Type.TOptional, Type.TLiteral<"MEDIUM">, Type.TLiteral<"HARD">]>>>; }>; items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; lastSubmittedAt: Type.TOptional; numSubmitted: Type.TOptional; lastResult: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; frontendId: Type.TOptional; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TString; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; pending: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; items: Type.TArray; title: Type.TString; titleSlug: Type.TString; frontendId: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional; timestamp: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ id: Type.TString; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TOptional; statusCode: Type.TOptional; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; runtimePercentile: Type.TOptional; memoryPercentile: Type.TOptional; passedTestCases: Type.TOptional; totalTestCases: Type.TOptional; code: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; lastTestcase: Type.TOptional; codeOutput: Type.TOptional; expectedOutput: Type.TOptional; stdout: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]> | Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ operationId: Type.TString; kind: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; state: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; codeHash: Type.TString; createdAt: Type.TString; updatedAt: Type.TString; remoteId: Type.TOptional; questionId: Type.TOptional; start: Type.TOptional>; checkUrl: Type.TOptional; check: Type.TOptional>; supersedesOperationId: Type.TOptional; repeatsOperationId: Type.TOptional; result: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>>; errorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; }; readonly notes: { readonly capabilities: { readonly output: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; readonly read: { readonly input: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; target: Type.TString; }>; readonly output: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ target: Type.TString; content: Type.TString; byteLength: Type.TInteger; revision: Type.TUnion<[Type.TString, Type.TNull]>; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; updatedAt: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; readonly write: { readonly input: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; target: Type.TString; content: Type.TString; expectedRevision: Type.TUnion<[Type.TString, Type.TNull]>; }>; readonly output: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ target: Type.TString; content: Type.TString; byteLength: Type.TInteger; revision: Type.TUnion<[Type.TString, Type.TNull]>; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; updatedAt: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; readonly search: { readonly input: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; keyword: Type.TOptional; limit: Type.TOptional; skip: Type.TOptional; orderBy: Type.TOptional, Type.TLiteral<"DESCENDING">]>>; }>; readonly output: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ keyword: Type.TOptional; orderBy: Type.TUnion<[Type.TLiteral<"ASCENDING">, Type.TLiteral<"DESCENDING">]>; }>; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; totalCount: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; readonly get: { readonly input: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; questionId: Type.TString; limit: Type.TOptional; skip: Type.TOptional; }>; readonly output: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ questionId: Type.TString; count: Type.TInteger; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; readonly create: { readonly input: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; questionId: Type.TString; content: Type.TString; title: Type.TOptional; }>; readonly output: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ success: Type.TBoolean; note: Type.TUnion<[Type.TObject<{ id: Type.TString; content: Type.TString; targetId: Type.TString; }>, Type.TNull]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; readonly update: { readonly input: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; noteId: Type.TString; content: Type.TOptional; title: Type.TOptional; }>; readonly output: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ success: Type.TBoolean; note: Type.TUnion<[Type.TObject<{ id: Type.TString; content: Type.TString; targetId: Type.TString; }>, Type.TNull]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; }; readonly user: { readonly status: { readonly input: Type.TObject<{ region: Type.TOptional, Type.TLiteral<"cn">]>>; }>; readonly output: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TUnion<[Type.TObject<{ isSignedIn: Type.TLiteral; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>, Type.TObject<{ isSignedIn: Type.TLiteral; username: Type.TString; displayName: Type.TOptional; avatar: Type.TOptional; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>]>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; }; readonly diagnostics: { readonly getSnapshot: { readonly output: Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; snapshotRevision: Type.TInteger; observedAt: Type.TString; providerConflict: Type.TBoolean; storageWritable: Type.TBoolean; regions: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; cn: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; }>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>; }; }; readonly errors: readonly ["VALIDATION_ERROR", "AUTH_REQUIRED", "AUTH_EXPIRED", "PERMISSION_DENIED", "INTERACTION_REQUIRED", "NOT_FOUND", "RATE_LIMITED", "REMOTE_UNAVAILABLE", "EXECUTION_FAILED", "UNSUPPORTED_REGION", "STALE_OPERATION", "STALE_CURSOR", "UNKNOWN_WRITE_OUTCOME", "CANCELLED", "CAPABILITY_UNAVAILABLE", "REMOTE_SCHEMA_CHANGED", "PROVIDER_CONFLICT", "CONTRACT_MISMATCH", "PROTOCOL_TIMEOUT"]; readonly discovery: { readonly channel: "pi-leetcode-tools:discover:v1"; readonly request: Type.TObject<{ protocolVersion: Type.TLiteral<"1.0.0">; requestId: Type.TString; respond: Type.TAny; }>; readonly response: Type.TObject<{ protocolVersion: Type.TLiteral<"1.0.0">; requestId: Type.TString; descriptor: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; snapshotRevision: Type.TInteger; observedAt: Type.TString; supportedRegions: Type.TArray, Type.TLiteral<"cn">]>>; tools: Type.TArray, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>>; notesPort: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; regionReadiness: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; cn: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; }>; interactiveUI: Type.TBoolean; }>; }>; }; readonly rpc: { readonly channel: "pi-leetcode-tools:rpc:v1"; readonly request: Type.TObject<{ protocolVersion: Type.TString; requestId: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; method: Type.TUnion<[Type.TLiteral<"tool.execute">, Type.TLiteral<"notes.capabilities">, Type.TLiteral<"notes.read">, Type.TLiteral<"notes.write">, Type.TLiteral<"notes.search">, Type.TLiteral<"notes.get">, Type.TLiteral<"notes.create">, Type.TLiteral<"notes.update">, Type.TLiteral<"user.status">, Type.TLiteral<"diagnostics.getSnapshot">]>; params: Type.TAny; deadlineAt: Type.TInteger; respond: Type.TAny; }>; readonly response: Type.TObject<{ protocolVersion: Type.TLiteral<"1.0.0">; requestId: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; result: Type.TUnion<[Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ date: Type.TString; link: Type.TString; problem: Type.TObject<{ questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; regionalPayload: Type.TUnion<[Type.TObject<{ date: Type.TString; link: Type.TString; question: Type.TObject<{ questionId: Type.TString; questionFrontendId: Type.TString; boundTopicId: Type.TUnion<[Type.TString, Type.TNull]>; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>; }>, Type.TObject<{ date: Type.TString; userStatus: Type.TUnion<[Type.TString, Type.TNull]>; question: Type.TObject<{ questionId: Type.TString; frontendQuestionId: Type.TString; title: Type.TString; titleCn: Type.TString; titleSlug: Type.TString; difficulty: Type.TString; paidOnly: Type.TBoolean; acRate: Type.TNumber; status: Type.TUnion<[Type.TString, Type.TNull]>; freqBar: Type.TUnion<[Type.TNumber, Type.TNull]>; isFavor: Type.TBoolean; solutionNum: Type.TInteger; hasVideoSolution: Type.TBoolean; topicTags: Type.TArray; id: Type.TString; nameTranslated: Type.TString; }>>; extra: Type.TObject<{ topCompanyTags: Type.TArray>; }>; }>; lastSubmission: Type.TUnion<[Type.TObject<{ id: Type.TString; }>, Type.TNull]>; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ content: Type.TString; translatedContent: Type.TOptional; defaultTestcase: Type.TOptional; exampleTestcases: Type.TArray; availableLanguages: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; selectedCodeSnippet: Type.TUnion<[Type.TObject<{ language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>, Type.TNull]>; enableRunCode: Type.TBoolean; hints: Type.TArray; similarQuestions: Type.TArray, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; }>>; codeSnippets: Type.TArray, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; languageName: Type.TString; code: Type.TString; }>>; resourcePayload: Type.TOptional; title: Type.TString; titleSlug: Type.TString; content: Type.TString; translatedTitle: Type.TUnion<[Type.TString, Type.TNull]>; translatedContent: Type.TUnion<[Type.TString, Type.TNull]>; isPaidOnly: Type.TBoolean; difficulty: Type.TString; acRate: Type.TOptional; likes: Type.TInteger; dislikes: Type.TInteger; isLiked: Type.TUnion<[Type.TBoolean, Type.TNull]>; similarQuestions: Type.TString; exampleTestcases: Type.TString; contributors: Type.TArray>; topicTags: Type.TArray>; }>>; companyTagStats: Type.TUnion<[Type.TString, Type.TNull]>; codeSnippets: Type.TArray>; stats: Type.TString; hints: Type.TArray; solution: Type.TUnion<[Type.TObject<{ id: Type.TString; canSeeDetail: Type.TBoolean; paidOnly: Type.TOptional; hasVideoSolution: Type.TOptional; paidOnlyVideo: Type.TOptional; }>, Type.TNull]>; status: Type.TUnion<[Type.TString, Type.TNull]>; sampleTestCase: Type.TString; metaData: Type.TString; judgerAvailable: Type.TBoolean; judgeType: Type.TString; mysqlSchemas: Type.TArray; enableRunCode: Type.TBoolean; enableTestMode: Type.TBoolean; enableDebugger: Type.TOptional; envInfo: Type.TOptional; libraryUrl: Type.TUnion<[Type.TString, Type.TNull]>; adminUrl: Type.TOptional>; challengeQuestion: Type.TOptional, Type.TNull]>>; note: Type.TUnion<[Type.TString, Type.TNull]>; }>>; questionId: Type.TString; frontendId: Type.TString; title: Type.TString; translatedTitle: Type.TOptional; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; paidOnly: Type.TBoolean; acRate: Type.TOptional; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ titleSlug: Type.TString; items: Type.TArray; title: Type.TOptional; summary: Type.TOptional; canSee: Type.TBoolean; hasVideoArticle: Type.TOptional; coverUrl: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ title: Type.TString; slug: Type.TString; topicId: Type.TOptional; questionSlug: Type.TOptional; content: Type.TString; tags: Type.TArray; prev: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; next: Type.TOptional; slug: Type.TOptional; title: Type.TOptional; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; realName: Type.TOptional; avatar: Type.TOptional; aboutMe: Type.TOptional; country: Type.TOptional; location: Type.TOptional; company: Type.TOptional; school: Type.TOptional; githubUrl: Type.TOptional; ranking: Type.TOptional; siteRanking: Type.TOptional; totalSubmissions: Type.TOptional; }>>>; acceptedQuestions: Type.TOptional; }>>>; failedQuestions: Type.TOptional; }>>>; untouchedQuestions: Type.TOptional; }>>>; socialAccounts: Type.TOptional; profileUrl: Type.TString; }>>>; skillTopics: Type.TOptional>; topicAreaScores: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; ranking: Type.TOptional; rating: Type.TOptional; globalRanking: Type.TOptional; localRanking: Type.TOptional; globalTotalParticipants: Type.TOptional; localTotalParticipants: Type.TOptional; topPercentage: Type.TOptional; badge: Type.TOptional; }>>; history: Type.TArray; startTime: Type.TOptional; totalProblems: Type.TOptional; solvedProblems: Type.TOptional; finishTimeSeconds: Type.TOptional; rating: Type.TOptional; score: Type.TOptional; ranking: Type.TOptional; trend: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ offset: Type.TInteger; limit: Type.TInteger; questionStatus: Type.TOptional, Type.TLiteral<"ATTEMPTED">]>>; difficulty: Type.TOptional, Type.TLiteral<"MEDIUM">, Type.TLiteral<"HARD">]>>>; }>; items: Type.TArray; titleSlug: Type.TString; difficulty: Type.TUnion<[Type.TLiteral<"easy">, Type.TLiteral<"medium">, Type.TLiteral<"hard">]>; status: Type.TOptional, Type.TLiteral<"attempted">, Type.TLiteral<"solved">]>>; topicTags: Type.TArray; }>>; lastSubmittedAt: Type.TOptional; numSubmitted: Type.TOptional; lastResult: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ items: Type.TArray; frontendId: Type.TOptional; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TString; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; pending: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ username: Type.TString; mode: Type.TUnion<[Type.TLiteral<"recent">, Type.TLiteral<"accepted">]>; items: Type.TArray; title: Type.TString; titleSlug: Type.TString; frontendId: Type.TOptional; language: Type.TOptional, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>>; status: Type.TOptional; timestamp: Type.TOptional; }>>; page: Type.TUnion<[Type.TObject<{ totalKind: Type.TLiteral<"exact">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"lower_bound">; total: Type.TInteger; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>, Type.TObject<{ totalKind: Type.TLiteral<"unknown">; total: Type.TNull; offset: Type.TInteger; limit: Type.TInteger; hasMore: Type.TBoolean; nextCursor: Type.TOptional; }>]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ id: Type.TString; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; status: Type.TOptional; statusCode: Type.TOptional; timestamp: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; runtimePercentile: Type.TOptional; memoryPercentile: Type.TOptional; passedTestCases: Type.TOptional; totalTestCases: Type.TOptional; code: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; lastTestcase: Type.TOptional; codeOutput: Type.TOptional; expectedOutput: Type.TOptional; stdout: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ operationId: Type.TString; kind: Type.TUnion<[Type.TLiteral<"run">, Type.TLiteral<"submit">]>; state: Type.TUnion<[Type.TLiteral<"queued">, Type.TLiteral<"polling">, Type.TLiteral<"completed">, Type.TLiteral<"unknown">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">]>; region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; titleSlug: Type.TString; language: Type.TUnion<[Type.TLiteral<"bash">, Type.TLiteral<"c">, Type.TLiteral<"cpp">, Type.TLiteral<"csharp">, Type.TLiteral<"cangjie">, Type.TLiteral<"dart">, Type.TLiteral<"elixir">, Type.TLiteral<"erlang">, Type.TLiteral<"go">, Type.TLiteral<"java">, Type.TLiteral<"javascript">, Type.TLiteral<"kotlin">, Type.TLiteral<"mysql">, Type.TLiteral<"mssql">, Type.TLiteral<"oracle">, Type.TLiteral<"php">, Type.TLiteral<"python">, Type.TLiteral<"python3">, Type.TLiteral<"racket">, Type.TLiteral<"ruby">, Type.TLiteral<"rust">, Type.TLiteral<"scala">, Type.TLiteral<"swift">, Type.TLiteral<"typescript">]>; codeHash: Type.TString; createdAt: Type.TString; updatedAt: Type.TString; remoteId: Type.TOptional; questionId: Type.TOptional; start: Type.TOptional>; checkUrl: Type.TOptional; check: Type.TOptional>; supersedesOperationId: Type.TOptional; repeatsOperationId: Type.TOptional; result: Type.TOptional; statusMessage: Type.TOptional; runtime: Type.TOptional; memory: Type.TOptional; stdout: Type.TOptional; expectedOutput: Type.TOptional; compileError: Type.TOptional; runtimeError: Type.TOptional; input: Type.TOptional; }>>; errorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ target: Type.TString; content: Type.TString; byteLength: Type.TInteger; revision: Type.TUnion<[Type.TString, Type.TNull]>; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; updatedAt: Type.TOptional; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ filters: Type.TObject<{ keyword: Type.TOptional; orderBy: Type.TUnion<[Type.TLiteral<"ASCENDING">, Type.TLiteral<"DESCENDING">]>; }>; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; totalCount: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ questionId: Type.TString; count: Type.TInteger; pagination: Type.TObject<{ limit: Type.TInteger; skip: Type.TInteger; }>; notes: Type.TArray>; }>, Type.TNull]>>; }>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ success: Type.TBoolean; note: Type.TUnion<[Type.TObject<{ id: Type.TString; content: Type.TString; targetId: Type.TString; }>, Type.TNull]>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TUnion<[Type.TObject<{ isSignedIn: Type.TLiteral; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>, Type.TObject<{ isSignedIn: Type.TLiteral; username: Type.TString; displayName: Type.TOptional; avatar: Type.TOptional; isAdmin: Type.TBoolean; useTranslation: Type.TOptional; }>]>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>, Type.TUnion<[Type.TObject<{ ok: Type.TLiteral; data: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; snapshotRevision: Type.TInteger; observedAt: Type.TString; providerConflict: Type.TBoolean; storageWritable: Type.TBoolean; regions: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; cn: Type.TObject<{ configured: Type.TBoolean; sessionConfigured: Type.TBoolean; operationConfigured: Type.TBoolean; queueDepth: Type.TInteger; queueLimit: Type.TInteger; circuitState: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"closed">, Type.TLiteral<"open">, Type.TLiteral<"half_open">]>; nextProbeAt: Type.TOptional; lastSafeErrorCode: Type.TOptional, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>>; }>; }>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>, Type.TObject<{ ok: Type.TLiteral; error: Type.TObject<{ code: Type.TUnion<[Type.TLiteral<"VALIDATION_ERROR">, Type.TLiteral<"AUTH_REQUIRED">, Type.TLiteral<"AUTH_EXPIRED">, Type.TLiteral<"PERMISSION_DENIED">, Type.TLiteral<"INTERACTION_REQUIRED">, Type.TLiteral<"NOT_FOUND">, Type.TLiteral<"RATE_LIMITED">, Type.TLiteral<"REMOTE_UNAVAILABLE">, Type.TLiteral<"EXECUTION_FAILED">, Type.TLiteral<"UNSUPPORTED_REGION">, Type.TLiteral<"STALE_OPERATION">, Type.TLiteral<"STALE_CURSOR">, Type.TLiteral<"UNKNOWN_WRITE_OUTCOME">, Type.TLiteral<"CANCELLED">, Type.TLiteral<"CAPABILITY_UNAVAILABLE">, Type.TLiteral<"REMOTE_SCHEMA_CHANGED">, Type.TLiteral<"PROVIDER_CONFLICT">, Type.TLiteral<"CONTRACT_MISMATCH">, Type.TLiteral<"PROTOCOL_TIMEOUT">]>; message: Type.TString; retryable: Type.TBoolean; retryAfterMs: Type.TOptional; operationId: Type.TOptional; details: Type.TOptional>>; }>; meta: Type.TObject<{ region: Type.TUnion<[Type.TLiteral<"global">, Type.TLiteral<"cn">]>; packageVersion: Type.TString; contractVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; accountProfileId: Type.TOptional; requestId: Type.TString; durationMs: Type.TOptional; truncated: Type.TOptional; omittedFields: Type.TOptional>; }>; }>]>]>; }>; readonly methods: readonly ["tool.execute", "notes.capabilities", "notes.read", "notes.write", "notes.search", "notes.get", "notes.create", "notes.update", "user.status", "diagnostics.getSnapshot"]; }; readonly lifecycle: { readonly readyChannel: "pi-leetcode-tools:ready:v1"; readonly deactivatedChannel: "pi-leetcode-tools:deactivated:v1"; readonly event: Type.TObject<{ descriptor: Type.TObject<{ packageName: Type.TLiteral<"pi-leetcode-tools">; providerId: Type.TString; instanceId: Type.TString; contextRevision: Type.TInteger; activeAccountProfileId: Type.TOptional; packageVersion: Type.TString; contractVersion: Type.TString; protocolVersion: Type.TString; schemaDigest: Type.TString; behaviorManifestDigest: Type.TString; capabilityManifestDigest: Type.TString; snapshotRevision: Type.TInteger; observedAt: Type.TString; supportedRegions: Type.TArray, Type.TLiteral<"cn">]>>; tools: Type.TArray, Type.TLiteral<"lc_search">, Type.TLiteral<"lc_problem">, Type.TLiteral<"lc_solution_search">, Type.TLiteral<"lc_solution">, Type.TLiteral<"lc_profile">, Type.TLiteral<"lc_contest">, Type.TLiteral<"lc_progress">, Type.TLiteral<"lc_history">, Type.TLiteral<"lc_user_submissions">, Type.TLiteral<"lc_submission">, Type.TLiteral<"lc_run">, Type.TLiteral<"lc_submit">, Type.TLiteral<"lc_operation_status">]>; version: Type.TString; supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; requiresAuth: Type.TBoolean; consequence: Type.TUnion<[Type.TLiteral<"read">, Type.TLiteral<"answer_read">, Type.TLiteral<"sensitive_read">, Type.TLiteral<"execution">, Type.TLiteral<"external_write">]>; disclosureRisk: Type.TOptional>; }>>; notesPort: Type.TObject<{ global: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; cn: Type.TObject<{ supported: Type.TBoolean; configured: Type.TBoolean; currentlyAvailable: Type.TBoolean; reason: Type.TOptional; revisionMode: Type.TUnion<[Type.TLiteral<"native-etag">, Type.TLiteral<"best-effort-compare-and-set">, Type.TLiteral<"unsupported">]>; maxSize: Type.TInteger; }>; }>; regionReadiness: Type.TObject<{ global: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; cn: Type.TObject<{ configured: Type.TBoolean; publicReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; sessionReads: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; execution: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; externalWrite: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; notes: Type.TUnion<[Type.TBoolean, Type.TLiteral<"unknown">]>; retryAt: Type.TOptional; }>; }>; interactiveUI: Type.TBoolean; }>; }>; }; }; export declare const BEHAVIOR_MANIFEST: { readonly manifestVersion: "1.1.0"; readonly defaultRegion: { [k: string]: string; }; readonly gatewayRpcDefaults: { readonly "user.status": { readonly region: "global"; }; readonly "notes.search": { readonly region: "cn"; readonly limit: 10; readonly skip: 0; readonly orderBy: "DESCENDING"; }; readonly "notes.get": { readonly region: "cn"; readonly limit: 10; readonly skip: 0; }; readonly "notes.create": { readonly region: "cn"; readonly title: ""; }; readonly "notes.update": { readonly region: "cn"; readonly content: ""; readonly title: ""; }; }; readonly execution: { readonly defaults: { readonly timeoutMs: 120000; readonly pollIntervalMs: 1500; }; readonly bounds: { readonly timeoutMs: { readonly minimum: 1; readonly maximum: 120000; }; readonly pollIntervalMs: { readonly minimum: 1; readonly maximum: 5000; readonly effectiveMinimum: 200; }; }; readonly languageAliases: { readonly golang: "go"; }; readonly transientUpstreamEnvelope: { readonly fields: readonly ["questionId", "start", "checkUrl", "check"]; readonly maxJsonBytes: 900000; readonly maxDepth: 16; readonly persistence: "never"; }; }; readonly userNotes: { readonly namespace: "current-authenticated-user"; readonly region: "cn"; readonly managedNotesPortSeparated: true; readonly sensitiveFields: readonly ["content", "title", "keyword"]; readonly persistence: "never"; readonly writeConfirmation: "required-per-call"; readonly writeRetry: "never"; readonly uncertainWriteOutcome: "UNKNOWN_WRITE_OUTCOME"; }; readonly dailyDate: { readonly global: { readonly timeZone: "America/Los_Angeles"; readonly representation: "site-calendar-date"; }; readonly cn: { readonly timeZone: "Asia/Shanghai"; readonly representation: "site-calendar-date"; }; }; readonly pagination: { readonly defaultLimit: 20; readonly maximumLimit: 50; readonly defaultOffset: 0; readonly ordering: "upstream-order-preserved"; readonly search: { readonly totalKind: "exact"; readonly defaultCategory: "all-code-essentials"; readonly defaultLimit: 10; readonly cursorFingerprintFields: readonly ["category", "query", "tags(sorted)", "difficulty", "limit"]; }; readonly progress: { readonly totalKind: "exact"; readonly cursorFingerprintFields: null; }; readonly history: { readonly global: { readonly totalKind: "lower_bound"; readonly cursorFingerprintFields: readonly ["scope", "titleSlug", "language", "status", "limit"]; }; readonly cn: { readonly totalKind: "lower_bound"; readonly cursorFingerprintFields: readonly ["scope", "titleSlug", "language", "status", "limit"]; }; }; readonly publicUserSubmissions: { readonly maximumLimit: 20; readonly pagination: "single-bounded-public-window"; }; readonly cursor: { readonly version: 1; readonly signature: "HMAC-SHA-256"; readonly canonicalization: "RFC8785/JCS"; readonly ttlMs: 900000; readonly maximumEncodedLength: 1000; readonly payloadBindings: readonly ["tool", "region", "queryFingerprint", "profileId(if authenticated)", "offset", "remoteCursor(if present)", "expiresAt"]; }; }; readonly language: { readonly canonicalIds: readonly ["bash", "c", "cpp", "csharp", "cangjie", "dart", "elixir", "erlang", "go", "java", "javascript", "kotlin", "mysql", "mssql", "oracle", "php", "python", "python3", "racket", "ruby", "rust", "scala", "swift", "typescript"]; readonly remoteIds: Readonly>>>; readonly selection: "explicit-language-only"; readonly absentSelection: null; }; readonly testcase: { readonly maximumUtf8Bytes: 200000; readonly defaultSource: "problem.defaultTestcase"; readonly preserveRemoteWhitespace: true; readonly missingDefault: "VALIDATION_ERROR"; }; readonly submissionDetail: { readonly sourceCodeDefault: false; readonly sourceCodeOptInField: "includeCode"; readonly sourceCodeMaximumUtf8Bytes: 100000; readonly persistence: "never"; }; readonly solutionArticles: { readonly disclosureRisk: "solution"; readonly contentTrust: "untrusted-answer-bearing"; readonly defaultLimit: 10; readonly maximumLimit: 50; readonly globalDefaultOrderBy: "HOT"; readonly cnDefaultOrderBy: "DEFAULT"; readonly persistence: "never"; readonly evidenceBodyStorage: "forbidden"; }; readonly outputBounds: { readonly transportResponseUtf8Bytes: { readonly readDefault: 2097152; readonly writeDefault: 1048576; readonly configurableMaximum: 10485760; readonly overflow: "REMOTE_SCHEMA_CHANGED"; }; readonly items: { readonly maximum: 50; readonly overflow: "truncate-and-mark"; }; readonly topicTags: { readonly maximum: 100; readonly overflow: "truncate-and-mark"; }; readonly exampleTestcases: { readonly maximum: 100; readonly overflow: "truncate-and-mark"; }; readonly availableLanguages: { readonly maximum: 24; readonly unknownRemoteLanguage: "omit-and-mark"; }; readonly controlFields: { readonly overflow: "REMOTE_SCHEMA_CHANGED"; readonly fields: readonly ["operationId", "requestId", "codeHash", "revision", "cursor", "verdict", "error.code"]; }; readonly omissionMeta: { readonly truncated: true; readonly pointerFormat: "RFC6901 JSON Pointer"; readonly maximumPointers: 100; }; }; readonly remoteErrors: { readonly http401: "AUTH_EXPIRED"; readonly http403: { readonly authenticatedOperation: "AUTH_EXPIRED"; readonly unauthenticatedOperation: "PERMISSION_DENIED"; }; readonly http429: "RATE_LIMITED"; readonly http5xx: "REMOTE_UNAVAILABLE"; readonly redirect: "REMOTE_UNAVAILABLE"; readonly malformedJson: "REMOTE_SCHEMA_CHANGED"; readonly graphqlAuthentication: { readonly authenticatedOperation: "AUTH_EXPIRED"; readonly unauthenticatedOperation: "AUTH_REQUIRED"; }; readonly graphqlNotFound: "NOT_FOUND"; readonly graphqlContract: "REMOTE_SCHEMA_CHANGED"; readonly aborted: "CANCELLED"; readonly uncertainWriteDispatch: "UNKNOWN_WRITE_OUTCOME"; }; }; export declare const STATIC_RESOURCE_CATALOG: { readonly categories: readonly ["all-code-essentials", "algorithms", "database", "pandas", "javascript", "shell", "concurrency"]; readonly tags: readonly ["array", "string", "hash-table", "dynamic-programming", "math", "sorting", "greedy", "depth-first-search", "binary-search", "database", "tree", "breadth-first-search", "matrix", "bit-manipulation", "two-pointers", "binary-tree", "heap-priority-queue", "prefix-sum", "stack", "simulation", "graph", "counting", "sliding-window", "design", "backtracking", "enumeration", "linked-list", "union-find", "ordered-set", "monotonic-stack", "number-theory", "trie", "segment-tree", "recursion", "divide-and-conquer", "queue", "combinatorics", "binary-search-tree", "bitmask", "memoization", "geometry", "binary-indexed-tree", "hash-function", "topological-sort", "string-matching", "shortest-path", "rolling-hash", "game-theory", "data-stream", "interactive", "monotonic-queue", "brainteaser", "doubly-linked-list", "merge-sort", "randomized", "quickselect", "counting-sort", "iterator", "probability-and-statistics", "concurrency", "bucket-sort", "suffix-array", "line-sweep", "minimum-spanning-tree", "shell", "reservoir-sampling", "strongly-connected-component", "eulerian-circuit", "radix-sort", "biconnected-component", "rejection-sampling"]; readonly languages: { readonly upstream: readonly ["cpp", "java", "python", "python3", "c", "csharp", "javascript", "typescript", "php", "swift", "kotlin", "dart", "golang", "ruby", "scala", "rust", "racket", "erlang", "elixir", "cangjie"]; readonly canonical: readonly ["bash", "c", "cpp", "csharp", "cangjie", "dart", "elixir", "erlang", "go", "java", "javascript", "kotlin", "mysql", "mssql", "oracle", "php", "python", "python3", "racket", "ruby", "rust", "scala", "swift", "typescript"]; readonly remoteIds: Readonly>>>; }; }; export declare const SCHEMA_DIGEST: string; export declare const BEHAVIOR_MANIFEST_DIGEST: string; export declare const RESOURCE_CATALOG_DIGEST: string; export declare const STATIC_CAPABILITY_MANIFEST: { readonly packageName: "pi-leetcode-tools"; readonly supportedRegions: readonly ["global", "cn"]; readonly tools: { disclosureRisk?: "solution"; name: "lc_daily" | "lc_search" | "lc_problem" | "lc_solution_search" | "lc_solution" | "lc_profile" | "lc_contest" | "lc_progress" | "lc_history" | "lc_user_submissions" | "lc_submission" | "lc_run" | "lc_submit" | "lc_operation_status"; version: string; requiresAuth: boolean; consequence: string; }[]; readonly notesPort: { readonly global: { readonly supported: false; readonly revisionMode: "unsupported"; readonly maxSize: 0; }; readonly cn: { readonly supported: true; readonly revisionMode: "best-effort-compare-and-set"; readonly maxSize: 16384; }; }; }; export declare const CAPABILITY_MANIFEST_DIGEST: string; export declare function isToolName(value: string): value is ToolName; export declare function normalizeToolInput(name: ToolName, input: unknown): unknown; //# sourceMappingURL=contract.d.ts.map