import { Program } from "@typespec/compiler"; export declare function validateNamespaceIsRequired(program: Program): void; export declare function validatePublicNamespaceName(program: Program): void; export declare function validateTopLevelNamespaceMustHavePublicNamespace(program: Program): void; export declare function validateWorkloadNamespaceName(program: Program): void; /** * Rule to enforce that namespace parts are in camelCase */ export declare const namespacesMustBeCamelCase: import("@typespec/compiler").LinterRuleDefinition<"namespaces-must-be-camel-case", { readonly default: import("@typespec/compiler").CallableMessage<["namespace", "suggested"]>; }, Record>; /** * Linter rule that fires a warning when `@namespaceAlias("")` is used to suppress * the conventional namespace alias. * * `@namespaceAlias("")` is an escape hatch reserved for workloads that predate the * alias-by-convention feature and cannot adopt the conventional alias without a * breaking change in their CSDL output. New workloads must not use this pattern. * * To silence this warning on a legacy namespace, add: * ```typespec * #suppress "@microsoft/typespec-msgraph/namespace-alias-convention-suppressed" * "Legacy workload: predates the alias convention" * @namespaceAlias("") * @publicNamespace("microsoft.graph.legacy") * namespace legacyWorkload; * ``` */ export declare const namespaceAliasConventionSuppressed: import("@typespec/compiler").LinterRuleDefinition<"namespace-alias-convention-suppressed", { readonly default: "Using @namespaceAlias(\"\") to suppress the conventional namespace alias is reserved for workloads that predate the alias convention and must not be used by new workloads. Consider omitting @namespaceAlias and letting the conventional alias be derived, or using @namespaceAlias(\"desired-alias\") to override it."; }, Record>; //# sourceMappingURL=namespace.d.ts.map