import { type ParseResult } from 'yuku-parser';
import { type AnyNode } from './route-ast.js';
export declare function validateDestructuredExports(id: AnyNode, exportsToRemove: readonly string[]): void;
export declare function invalidDestructureError(name: string): Error;
export declare const removeExports: (ast: ParseResult | AnyNode, exportsToRemove: readonly string[], exportsToRemoveSet?: ReadonlySet<string>) => boolean;
export declare const removeUnusedImports: (ast: ParseResult | AnyNode) => void;
