export interface HyperscriptParser {
    parseElementExpression(): unknown;
    raiseParseError(tokens: TokenStream, message: string): never;
}
export interface TokenStream {
    matchToken(token: string): boolean;
}
export interface BaseCommand {
    url: unknown;
    placement: string | null;
    target: unknown;
    options: Record<string, unknown>;
}
export declare function parseURL(parser: HyperscriptParser, tokens: TokenStream): unknown;
export declare function parseTarget(parser: HyperscriptParser, _tokens: TokenStream): unknown;
export declare function parseOptionValue(parser: HyperscriptParser, _tokens: TokenStream): unknown;
export declare function parseColon(parser: HyperscriptParser, tokens: TokenStream): void;
export declare function parseComma(tokens: TokenStream): boolean;
export declare function parseOptionalAnd(tokens: TokenStream): boolean;
export declare function createBaseCommand(url: unknown): BaseCommand;
//# sourceMappingURL=parser.d.ts.map