/**
 * Encodes a string as base64url
 *
 * @param input string to encode
 * @returns base64url-encoded string
 * @throws {Error} If input is not a string
 */
declare const encodeBase64Url: (input: string) => string;
/**
 * Decodes a base64url-encoded string to plain text
 *
 * @param input base64url-encoded string to decode
 * @returns decoded plain text string
 * @throws {Error} If input is not a string
 */
declare const decodeBase64Url: (input: string) => string;

export { decodeBase64Url, encodeBase64Url };
