import type { CommitKnownProps, Context, Options, Details } from './types/index.js'; /** * Creates an async generator function to generate changelog entries from commits. * @param context - Context for changelog template. * @param options - Options for changelog template. * @param includeDetails - Whether to yield details object instead of changelog entry. * @returns Async generator function to generate changelog entries from commits. */ export declare function writeChangelog(context?: Context, options?: Options, includeDetails?: false): (commits: Iterable | AsyncIterable) => AsyncGenerator; export declare function writeChangelog(context: Context, options: Options, includeDetails: true): (commits: Iterable | AsyncIterable) => AsyncGenerator, void>; export declare function writeChangelog(context?: Context, options?: Options, includeDetails?: boolean): (commits: Iterable | AsyncIterable) => AsyncGenerator, void>; /** * Creates a transform stream which takes commits and outputs changelog entries. * @param context - Context for changelog template. * @param options - Options for changelog template. * @param includeDetails - Whether to emit details object instead of changelog entry. * @returns Transform stream which takes commits and outputs changelog entries. */ export declare function writeChangelogStream(context?: Context, options?: Options, includeDetails?: boolean): import("stream").Duplex; /** * Create a changelog string from commits. * @param commits - Commits to generate changelog from. * @param context - Context for changelog template. * @param options - Options for changelog template. * @returns Changelog string. */ export declare function writeChangelogString(commits: Iterable | AsyncIterable, context?: Context, options?: Options): Promise; //# sourceMappingURL=writers.d.ts.map