/**
 * Lightweight structural validation for workspace CAE markdown (T100093).
 */
export type WorkspaceMarkdownValidationResult = {
    ok: true;
} | {
    ok: false;
    code: string;
    message: string;
};
/**
 * Require a non-empty body and at least one markdown H1 line (`# ...`).
 * Optional `fragment` is a registry fragment id (not a `#heading`); when set, require a matching `## fragment` section line.
 */
export declare function validateWorkspaceArtifactMarkdown(input: {
    contentMarkdown: string;
    title: string;
    fragment?: string | null;
}): WorkspaceMarkdownValidationResult;
