/**
 * Validate a spec directory for publishing to the registry.
 * Checks file existence, frontmatter fields, manifest structure, semver format, and size limits.
 * @param specDir - Absolute path to the spec directory to validate.
 * @returns Validation result with detailed error messages for each failure.
 */
export declare function validateForPublish(specDir: string): Promise<{
    valid: boolean;
    errors: string[];
}>;
//# sourceMappingURL=validator.d.ts.map