/**
 * Test harness for support types tests.
 * Creates a real TypeScript program with support type definitions
 * and provides helpers to extract ts.Type objects.
 */
import * as ts from "typescript";
export type TestHarness = {
    readonly program: ts.Program;
    readonly checker: ts.TypeChecker;
    readonly sourceFile: ts.SourceFile;
    readonly cleanup: () => void;
};
/**
 * Create a test harness with a real TypeScript program.
 * Returns program, checker, and source file for testing.
 */
export declare const createTestHarness: () => TestHarness;
/**
 * Extract the type of a variable declaration by name.
 * Gets the type from the type annotation node, not the inferred type.
 */
export declare const getVariableType: (sourceFile: ts.SourceFile, checker: ts.TypeChecker, variableName: string) => ts.Type | undefined;
/**
 * Get all support type instances from the test harness.
 */
export declare const getSupportTypes: (harness: TestHarness) => {
    byRef: ts.Type;
    unsafePointer: ts.Type;
    delegate: ts.Type;
    nullable: ts.Type;
    fixed: ts.Type;
    stackAlloc: ts.Type;
};
//# sourceMappingURL=test-harness.d.ts.map