import type Token from 'markdown-it/lib/token';
type TokenWalker = (token: Token, state: {
    commented: boolean;
    index: number;
}) => void | undefined | {
    skip: number;
};
export declare function filterTokens(tokens: Token[], type: string, handler: TokenWalker): void;
export {};
