import type { PartialConstruct, ContinuableConstruct, NamedConstruct } from '@flex-development/docmark-util-types'; /** * @file Constructs - blankLine * @module docmark-grammar/constructs/blankLine */ /** * The blank line construct. * * A blank line may start at the beginning of stream or after a new line. * * When parsing comments, and there is no active comment, * blank lines are considered opaque content.\ * Otherwise, leading whitespace is a captured as a `linePrefix`. * * This construct is expected to run * at the `comment` or `comments` content level. * * @category * constructs * * @const {PartialConstruct} blankLine */ declare const blankLine: PartialConstruct; /** * @file Constructs - region * @module docmark-grammar/constructs/region */ /** * Attempt a comment region at the current position. * * An unprefixed region attempt is made first.\ * If the initial attempt fails, a line prefix is then attempted and regions are * checked again at the new position, or the current position if no line prefix * is present. * * The construct fails without consuming any input if no prefixed or unprefixed * region can begin. * * Constructs registered for the `comment` content type are then attempted * in extension order. * * @category * constructs * * @const {PartialConstruct} region */ declare const region: PartialConstruct; /** * @file Constructs - summary * @module docmark-grammar/constructs/summary */ /** * The comment summary construct. * * A summary is the initial markdown region of a comment.\ * Summary content is only allowed at the beginning of a comment and continues * across subsequent logical comment lines until another region begins or the * end of content is reached. * * Summary content is not tokenized by this construct, * nor its `continuation` construct. * Markdown chunk creation, region-boundary detection, and continuation routing * are handled by the `comment` initializer. * * This construct is expected to run at the `comment` content level. * * @category * constructs * * @const {ContinuableConstruct & NamedConstruct} summary */ declare const summary: ContinuableConstruct & NamedConstruct; /** * @file Constructs - trailingWhitespace * @module docmark-grammar/constructs/trailingWhitespace */ /** * The trailing whitespace construct. * * Trailing whitespace may be seen at the end of a line. * * > 👉 **Note**: Blank lines are expected to already be parsed.\ * > The construct does not check for blank lines before parse attempts. * * @category * constructs * * @const {PartialConstruct} trailingWhitespace */ declare const trailingWhitespace: PartialConstruct; /** * @file Constructs - typeExpressionValue * @module docmark-grammar/constructs/typeExpressionValue */ /** * The type expression value construct. * * A type expression value represents the contents of a value within a type * expression. The value is preserved as-is until the end of the current `type` * content stream. * * This construct is expected to run at the `type` content level. * * It is `partial` so the enclosing type construct remains the tokenizer's * `currentConstruct` while the value is parsed. * * @const {NamedConstruct & PartialConstruct} typeExpressionValue */ declare const typeExpressionValue: NamedConstruct & PartialConstruct; export { blankLine, region, summary, trailingWhitespace, typeExpressionValue };