7 lines
652 B
TypeScript
7 lines
652 B
TypeScript
import { type AttributeNode, type DirectiveNode } from '@vue/compiler-core';
|
|
import type { TransformContext } from '../transform';
|
|
export declare function isStyleBinding({ arg, exp }: DirectiveNode): boolean | undefined;
|
|
export declare function findStaticStyleIndex(props: (AttributeNode | DirectiveNode)[]): number;
|
|
export declare function rewriteStyle(index: number, styleBindingProp: DirectiveNode, props: (AttributeNode | DirectiveNode)[], virtualHost: boolean, context: TransformContext, elementId?: string): void;
|
|
export declare function createVirtualHostStyle(props: (AttributeNode | DirectiveNode)[], context: TransformContext): DirectiveNode;
|