/**
 * @license
 * Copyright 2022 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
/** Transforms the bytes field value to a Uint8Array. */
export declare function bytesAsU8(b: string | Uint8Array): Uint8Array;
export declare function bytesAsU8(b: string | Uint8Array | undefined): Uint8Array | undefined;
/** Returns the length of the bytes field. */
export declare function bytesLength(b: string | Uint8Array): number;
export declare function bytesLength(b: string | Uint8Array | undefined): number | undefined;
/** A type union representing a serialized proto */
export declare type ProtoBytes = string | Uint8Array;
