import { type IWithIdentity } from "./interface"; export interface IResolveSource, TResult extends IWithIdentity = IWithIdentity> { /** * Resolve ID based on request (for example duplication detection). * * This should return an ID or throw an exception. */ resolveId(source: TSource): Promise; } export declare namespace ResolveSource { type Source = T extends IResolveSource ? U : T; type Result = T extends IResolveSource ? U : T; } //# sourceMappingURL=IResolveSource.d.ts.map