/**
 * https://github.com/alexreardon/raf-schd
 *
 * Copyright (c) 2021 Alex Reardon
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
type AnyFn = (...args: any[]) => void;
export interface RafSchedule<T extends AnyFn> {
    (...args: Parameters<T>): void;
    cancel: () => void;
}
export declare const rafSchd: <T extends AnyFn>(fn: T) => RafSchedule<T>;
export {};
//# sourceMappingURL=rafSchd.d.ts.map