You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
550 B

/**
* The revalidate option used internally for pages. A value of `false` means
* that the page should not be revalidated. A number means that the page
* should be revalidated after the given number of seconds (this also includes
* `1` which means to revalidate after 1 second). A value of `0` is not a valid
* value for this option.
*/
export type Revalidate = number | false;
export type SwrDelta = number;
export declare function formatRevalidate({ revalidate, swrDelta, }: {
revalidate: Revalidate;
swrDelta?: SwrDelta;
}): string;