import { GenEnum, GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2"; import { MethodOptions } from "@bufbuild/protobuf/wkt"; declare namespace options_pb_d_exports { export { AuthenticationMethod, AuthenticationMethodSchema, MFARequirement, MFARequirementSchema, authentication_methods, file_polyester_api_options, hidden, mfa_requirement, public$ }; } /** * Describes the file polyester/api/options.proto. */ declare const file_polyester_api_options: GenFile; /** * MFARequirement describes the interactive MFA assurance documented for an RPC. * * @generated from enum polyester.api.MFARequirement */ declare enum MFARequirement { /** * No interactive MFA requirement is declared; documentation treats this as none. * * @generated from enum value: MFA_UNSPECIFIED = 0; */ MFA_UNSPECIFIED = 0, /** * The RPC requires recently completed interactive MFA. Stale assurance must be renewed. * * @generated from enum value: MFA_RECENT = 1; */ MFA_RECENT = 1, /** * The RPC always requires a fresh, single-use step-up proof, even when MFA was completed recently. * * @generated from enum value: MFA_FRESH_STEP_UP = 2; */ MFA_FRESH_STEP_UP = 2, /** * The required MFA level depends on the request. * * @generated from enum value: MFA_CONDITIONAL = 3; */ MFA_CONDITIONAL = 3 } /** * Describes the enum polyester.api.MFARequirement. */ declare const MFARequirementSchema: GenEnum; /** * AuthenticationMethod identifies a credential type accepted by an RPC. * * @generated from enum polyester.api.AuthenticationMethod */ declare enum AuthenticationMethod { /** * No authentication method was specified. * * @generated from enum value: AUTH_UNSPECIFIED = 0; */ AUTH_UNSPECIFIED = 0, /** * A bearer token for an interactive user session. * * @generated from enum value: SESSION_TOKEN = 1; */ SESSION_TOKEN = 1, /** * A signed API key request. * * @generated from enum value: API_KEY = 2; */ API_KEY = 2 } /** * Describes the enum polyester.api.AuthenticationMethod. */ declare const AuthenticationMethodSchema: GenEnum; /** * When true, this RPC is publicly accessible (no auth required). * * @generated from extension: bool public = 50001; */ declare const public$: GenExtension; /** * When true, this RPC is excluded from generated docs artifacts (nav/connect/openapi). * Use this for internal-only helper RPCs (e.g. intra-service calls). * * @generated from extension: bool hidden = 50002; */ declare const hidden: GenExtension; /** * Interactive MFA assurance documented for this RPC. * This metadata does not enforce runtime authorization. * * @generated from extension: polyester.api.MFARequirement mfa_requirement = 50003; */ declare const mfa_requirement: GenExtension; /** * Credential types accepted by this RPC. When omitted on a protected RPC, * documentation defaults to session tokens and API keys. Public RPCs expose * no authentication methods. This metadata does not enforce runtime authorization. * * @generated from extension: repeated polyester.api.AuthenticationMethod authentication_methods = 50004; */ declare const authentication_methods: GenExtension; //#endregion export { AuthenticationMethod, AuthenticationMethodSchema, MFARequirement, MFARequirementSchema, authentication_methods, file_polyester_api_options, hidden, mfa_requirement, options_pb_d_exports, public$ }; //# sourceMappingURL=options_pb.d.ts.map