mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
14 lines
629 B
TypeScript
14 lines
629 B
TypeScript
import { Effects, ResultType } from "./types.js";
|
|
export declare const checkWebUrl: (url: string) => (effects: Effects, duration: number) => Promise<ResultType<null | void>>;
|
|
export declare const runHealthScript: ({ command, args }: {
|
|
command: string;
|
|
args: string[];
|
|
}) => (effects: Effects, _duration: number) => Promise<ResultType<null | void>>;
|
|
export declare const guardDurationAboveMinimum: (input: {
|
|
duration: number;
|
|
minimumTime: number;
|
|
}) => {
|
|
"error-code": readonly [number, string];
|
|
} | null;
|
|
export declare const catchError: (effects: Effects) => (e: unknown) => import("./types.js").KnownError;
|