import type { SourceLocator } from "./source.js"; import type { ContentDestination, ContentSyntaxDiagnostic } from "./types.js"; export declare const MAX_EMBEDDED_CODE_UNITS = 65536; export declare const EMBEDDED_CODE_LIMIT_MESSAGE = "Embedded code exceeds the 65536-unit parser limit"; export type EmbeddedCodeAnalysis = { readonly kind: "valid"; readonly destinations: readonly ContentDestination[]; readonly staticDestination: ContentDestination | undefined; } | { readonly kind: "syntax-error"; readonly diagnostic: ContentSyntaxDiagnostic; }; export declare function isDestinationAttribute(name: string | undefined): boolean; /** Tracks a `/` that is division rather than a JSX tag terminator. */ export interface ContextualSlashState { contextualSlash: boolean; pendingSlash: boolean; previousLabel: string | undefined; } export declare function consumeContextualSlashToken(state: ContextualSlashState, label: string): void; export declare function analyzeEmbeddedExpression(options: { readonly source: string; readonly absoluteStart: number; readonly locator: SourceLocator; readonly filePath?: string; readonly attributeName?: string; readonly fragmentKind?: "expression" | "jsx-spread-attribute"; }): Promise; //# sourceMappingURL=embedded-code.d.ts.map