import { TSQueryStringTransformer } from '@phenomnomnominal/tsquery/dist/src/tsquery-types'; import { AnyOpts } from '../../modify'; import { IfStmtExtractResult, RefactorIfStmtOpts } from './common'; import { IfStatement } from 'typescript'; export declare const extractIfThenBlock: (srcNode: any, stmt: IfStatement, opts: AnyOpts) => IfStmtExtractResult | undefined; export declare const extractThenBlock: (opts: AnyOpts) => TSQueryStringTransformer; export declare function refactorThenBlocksToFunctions(source: string, opts: RefactorIfStmtOpts): string | undefined;