/**
 * Script Analysis Utilities
 *
 * Extracts state and prop declarations from <script> blocks
 */
export interface StateInfo {
    name: string;
    value: string;
}
/**
 * Extract state declarations: state name = value
 */
export declare function extractStateDeclarations(script: string): Map<string, string>;
/**
 * Extract prop declarations: export let props: Props;
 */
export declare function extractProps(script: string): string[];
/**
 * Transform script by removing state and prop declarations
 */
export declare function transformStateDeclarations(script: string): string;
/**
 * Inject props into a setup script as top-level variables
 */
export declare function injectPropsIntoSetup(script: string, props: Record<string, any>): string;
