import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; export declare const protobufPackage = "snapchat.core"; export declare enum Code { OK = "OK", CANCELLED = "CANCELLED", UNKNOWN = "UNKNOWN", INVALID_ARGUMENT = "INVALID_ARGUMENT", DEADLINE_EXCEEDED = "DEADLINE_EXCEEDED", NOT_FOUND = "NOT_FOUND", ALREADY_EXISTS = "ALREADY_EXISTS", PERMISSION_DENIED = "PERMISSION_DENIED", UNAUTHENTICATED = "UNAUTHENTICATED", RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED", FAILED_PRECONDITION = "FAILED_PRECONDITION", ABORTED = "ABORTED", OUT_OF_RANGE = "OUT_OF_RANGE", UNIMPLEMENTED = "UNIMPLEMENTED", INTERNAL = "INTERNAL", UNAVAILABLE = "UNAVAILABLE", DATA_LOSS = "DATA_LOSS", NOT_MODIFIED = "NOT_MODIFIED", DECRYPTION_FAILED = "DECRYPTION_FAILED", INVALID_MEDIA = "INVALID_MEDIA", IN_PROGRESS = "IN_PROGRESS", CONTENT_TOO_LARGE = "CONTENT_TOO_LARGE", URL_PROTOCOL_NOT_SUPPORTED = "URL_PROTOCOL_NOT_SUPPORTED", URL_CONTENT_TYPE_NOT_WHITELISTED = "URL_CONTENT_TYPE_NOT_WHITELISTED", URL_DOWNLOAD_FAILURE = "URL_DOWNLOAD_FAILURE", CLOUD_STORAGE_FAILURE = "CLOUD_STORAGE_FAILURE", UNRECOGNIZED = "UNRECOGNIZED" } export declare function codeFromJSON(object: any): Code; export declare function codeToJSON(object: Code): string; export declare function codeToNumber(object: Code): number; export interface CodeProperties { errorCode: number; errorDescription: string; isRetryable: boolean; source: string; } export declare const CodeProperties: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends { $case: string; } ? { [K in keyof Omit]?: DeepPartial; } & { $case: T["$case"]; } : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create, I>>(base?: I): T; fromPartial, I>>(object: I): T; } export {};