import type { Chunk } from "@effect-ts/core/Collections/Immutable/Chunk";
import type { FigCharacter } from "../FigCharacter/index.js";
import type { FigletResult } from "../FigletException/index.js";
import type { FigFont } from "./definition.js";
/**
 * Creates a new `FigFont` by parsing an input collection of lines representing
 * a Figlet font file.
 *
 * @param file The file that contains the `FigFont` definition.
 * @param lines A `Chunk` that contains all the lines representing an Figlet
 * font file that defines the `FigFont`.
 * @return A `FigletResult` containing the new `FigFont`, or a list of errors
 * accumulated during creation of the `FigFont`.
 */
export declare function fromFile(file: string, lines: Chunk<string>): FigletResult<FigFont>;
/**
 * The empty character (as in the Unicode character `"\u0000"`).
 */
export declare function zero(self: FigFont): FigCharacter;
/**
 * Returns a `FigCharacter` representation of the given char.
 *
 * If the requested character is not present, the `FigCharacter` `"0"` (as in
 * Unicode character `"\u0000"`) will be returned instead.
 *
 * @param char The character to process into a `FigCharacter`.
 * @returns The `FigCharacter` that represent the given input character.
 */
export declare function char_(self: FigFont, char: string): FigCharacter;
/**
 * Returns a `FigCharacter` representation of the given char.
 *
 * If the requested character is not present, the `FigCharacter` `"0"` (as in
 * Unicode character `"\u0000"`) will be returned instead.
 *
 * @ets_data_first char_
 * @param char The character to process into a `FigCharacter`.
 * @returns The `FigCharacter` that represent the given input character.
 */
export declare function char(char: string): (self: FigFont) => FigCharacter;
/**
 * Retrieves the `FigFont` representation of a character as a string.
 *
 * @param char The character to process into a `FigCharacter` and render.
 * @returns The string representation of the `FigCharacter` that represents
 * the specified input character.
 */
export declare function process_(self: FigFont, char: string): Chunk<string>;
/**
 * Retrieves the `FigFont` representation of a character as a string.
 *
 * @ets_data_first process_
 * @param char The character to process into a `FigCharacter` and render.
 * @returns The string representation of the `FigCharacter` that represents
 * the specified input character.
 */
export declare function process(char: string): (self: FigFont) => Chunk<string>;
//# sourceMappingURL=operations.d.ts.map