import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { AttestationStatus } from "./status"; export declare const protobufPackage = "simplestamp.v1"; /** * SimpleStamp data models for storing attestations. * * License: Unlicense https://unlicense.org */ /** * The type of operation to perform. Enum values correspond to the wire format * in the server calls. */ export declare enum OperationType { OPERATION_TYPE_UNKNOWN = 0, OPERATION_TYPE_ATTESTATION = 1, OPERATION_TYPE_SHA1 = 2, OPERATION_TYPE_RIPEMD160 = 3, OPERATION_TYPE_SHA256 = 8, OPERATION_TYPE_APPEND = 240, OPERATION_TYPE_PREPEND = 241, OPERATION_TYPE_REVERSE = 242, OPERATION_TYPE_HEXLIFY = 243, UNRECOGNIZED = -1 } export interface Operation { type: OperationType; /** * (optional) The value of the argument passed into the operation routine in the * case of append and prepend. */ value: Uint8Array; /** (optional) An update to the Attestation's status */ status: AttestationStatus; /** The fully qualified URL of the calendar server the stamping was made on. */ calendarUrl: string; /** If the attestation indicates it is on chain */ blockHeight: number; } export declare const Operation: 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 {} ? { [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; create, I>>(base?: I): T; fromPartial, I>>(object: I): T; } export {}; //# sourceMappingURL=operation.d.ts.map