import type { GenEnum, GenFile, GenMessage } from '@bufbuild/protobuf/codegenv1'; import type { Message } from '@bufbuild/protobuf'; /** * Describes the file config/v1/secureviewer_config.proto. */ export declare const file_config_v1_secureviewer_config: GenFile; /** * A wrapper message that uses a oneof to support multiple config versions. * * @generated from message config.v1.SecureViewerConfig */ export type SecureViewerConfig = Message<'config.v1.SecureViewerConfig'> & { /** * @generated from oneof config.v1.SecureViewerConfig.version */ version: { /** * @generated from field: config.v1.SecureViewerConfigV1 v1 = 1; */ value: SecureViewerConfigV1; case: 'v1'; } | { case: undefined; value?: undefined; }; }; /** * Describes the message config.v1.SecureViewerConfig. * Use `create(SecureViewerConfigSchema)` to create a new message. */ export declare const SecureViewerConfigSchema: GenMessage; /** * Message to define obligation feature map structure. * * @generated from message config.v1.ObligationFeatureMap */ export type ObligationFeatureMap = Message<'config.v1.ObligationFeatureMap'> & { /** * @generated from field: repeated string fully_qualified_names = 1; */ fullyQualifiedNames: string[]; }; /** * Describes the message config.v1.ObligationFeatureMap. * Use `create(ObligationFeatureMapSchema)` to create a new message. */ export declare const ObligationFeatureMapSchema: GenMessage; /** * Message to define supported obligation types for the Secure Viewer. * * @generated from message config.v1.SupportedObligations */ export type SupportedObligations = Message<'config.v1.SupportedObligations'> & { /** * @generated from field: config.v1.ObligationFeatureMap watermark = 1; */ watermark?: ObligationFeatureMap; /** * @generated from field: config.v1.ObligationFeatureMap prevent_download = 2; */ preventDownload?: ObligationFeatureMap; }; /** * Describes the message config.v1.SupportedObligations. * Use `create(SupportedObligationsSchema)` to create a new message. */ export declare const SupportedObligationsSchema: GenMessage; /** * This message corresponds to the top-level Go `Config` struct. * * @generated from message config.v1.SecureViewerConfigV1 */ export type SecureViewerConfigV1 = Message<'config.v1.SecureViewerConfigV1'> & { /** * @generated from field: string client_id_web = 1; */ clientIdWeb: string; /** * @generated from field: string issuer_endpoint = 2; */ issuerEndpoint: string; /** * @generated from field: string oidc_client_scope = 3; */ oidcClientScope: string; /** * @generated from field: config.v1.SupportedObligations supported_obligations = 4; */ supportedObligations?: SupportedObligations; }; /** * Describes the message config.v1.SecureViewerConfigV1. * Use `create(SecureViewerConfigV1Schema)` to create a new message. */ export declare const SecureViewerConfigV1Schema: GenMessage; /** * Enum to manage different versions of the Secure Viewer configuration. * * @generated from enum config.v1.SecureViewerConfigVersion */ export declare enum SecureViewerConfigVersion { /** * @generated from enum value: SECURE_VIEWER_CONFIG_VERSION_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: SECURE_VIEWER_CONFIG_VERSION_V1 = 1; */ V1 = 1 } /** * Describes the enum config.v1.SecureViewerConfigVersion. */ export declare const SecureViewerConfigVersionSchema: GenEnum;