import { MarkdownRef } from "./forms/FormDefinition";
export interface TokenInstance {
    token: string;
    start: number;
    end: number;
}
export interface TokenValues {
    [token: string]: string;
}
export declare function findTokenInstances(formatString: string): TokenInstance[];
/**
 * Gets a string representation of the supplied value.
 * @param token The name of the token being replaced.
 * @param value The value to replace the token.
 */
export declare function getTokenValueString(token: string, value: any): string;
export declare function replacePlaceholders(formatString: string, tokenInstances: TokenInstance[], tokenValues: TokenValues): MarkdownRef;
