/// <reference types="@rbxts/compiler-types" />
/// <reference types="@rbxts/types" />
export declare function fspawn(fn: () => void): void;
/**
 * Delays execution for a set amount of time
 *
 * ```ts
 * // Example usage:
 * delayAsync(10).then(() => {
 * 	print("Waited 10 seconds to execute this!");
 * });
 * ```
 *
 * You can also do
 *
 * ```ts
 * await delayAsync(10);
 * print("Waited 10 seconds!");
 * ```
 *
 * ----
 * This can also be cancelled.
 *
 * @param timeout The timeout
 * @param useRenderStepped To use renderStepped - for plugins iirc?
 */
export default function delayAsync(timeout?: number, useRenderStepped?: boolean): Promise<[
    number,
    number
]>;
export declare function waitUntilDescendantOfGame(instance: Instance): Promise<Instance>;
/**
 * Replacement for `game.Debris:AddItem(x)`.
 * @param instance The instance to destroy
 * @param seconds The time to destroy it in
 */
export declare function destroyAsync(instance: Instance, seconds?: number): Promise<void>;
