import { Option } from '@fable-org/fable-library-js/Option.js';
import { Comment$ } from './Comment.fs.js';
import { FSharpMap } from '@fable-org/fable-library-js/Map.js';
/**
 * If a comment with the given key exists in the [], return its value, else return None
 */
export declare function tryItem(key: string, comments: Comment$[]): Option<string>;
/**
 * Returns true, if the key exists in the []
 */
export declare function containsKey(key: string, comments: Comment$[]): boolean;
/**
 * If a comment with the given key exists in the [], return its value
 */
export declare function item(key: string, comments: Comment$[]): string;
/**
 * Create a map of comment keys to comment values
 */
export declare function toMap(comments: Comment$[]): FSharpMap<string, Option<string>>;
/**
 * Add the given comment to the comment [] if it doesnt exist, else replace it
 */
export declare function set$(comment: Comment$, comments: Comment$[]): Comment$[];
/**
 * Returns a new comment [] where comments with the given key are filtered out
 */
export declare function dropByKey(key: string, comments: Comment$[]): Comment$[];
//# sourceMappingURL=CommentList.fs.d.ts.map