/** * Non-throwing predicate counterpart of {@link validateName}. Returns `true` * when the input is a syntactically valid `@scope/name`, `false` otherwise. * * Useful for callers that need to classify untrusted user input as * "potential variable name" vs. "malformed garbage" without paying the cost * of an exception, e.g. the CLI's `tryResolveHash` short-circuit. */ export declare function isValidName(name: string): boolean; /** * Validate that a variable name follows the `@scope/name` format. * * Rules: * - Must start with `@/` where scope is `[a-zA-Z][a-zA-Z0-9]*` * - Must have at least one segment after the scope * - Each segment may contain only `[a-zA-Z0-9._-]` * - No empty segments (consecutive slashes) or trailing slash * * Note: this function does NOT enforce reservation of the `@ocas/*` scope — * that is enforced at the CLI / bootstrap layer. * * @throws InvalidVariableNameError when name is malformed */ export declare function validateName(name: string): void; //# sourceMappingURL=validation.d.ts.map