import { CSSProperties, StatelessComponent } from 'react';
/**
 * A component for tracking the current and total pages
 * using a text.
 *
 * ### Usage
 * ```
 * <TextTracker />
 * ```
 *
 * ### Options
 * The default behavior is to render a tect in the format `Step 1 of 2`.
 * To render in a different format, pass a function in the generateText property
 * that takes the current and total number of pages as arguments and returns
 * the text to be rendered.
 *
 * For example
 * ```
 * (current, total) => `${current + 1} / ${total}`
 * ```
 * will render `1 / 2`. Note that the current page is zero based.
 */
export declare const TextTracker: StatelessComponent<{
    generateText?: (current: number, total: number) => string;
    style?: CSSProperties;
}>;
