import type { IPreparedRunnerSource, ITestCliSource, ITestLibrarySource } from './source';
export interface PreparedSources {
    readonly cli: IPreparedRunnerSource<ITestCliSource>;
    readonly library: IPreparedRunnerSource<ITestLibrarySource>;
    readonly toolkitLib: IPreparedRunnerSource<ITestLibrarySource>;
    readonly cdkAssets: IPreparedRunnerSource<ITestCliSource>;
}
type SourceType<A> = A extends IPreparedRunnerSource<infer T> ? T : unknown;
export declare function serializeSources(sources: PreparedSources): void;
export declare function testSource<K extends keyof PreparedSources>(k: K): SourceType<PreparedSources[K]>;
export {};
