import { Permissions } from "../ucan/permissions.js";
import { AppState } from "./state/app.js";
import { PermissionedAppState } from "./state/permissionedApp.js";
export declare type State = AppState | PermissionedAppState;
export declare const isAppState: (state: State) => state is AppState;
export declare const isPermissionedAppState: (state: State) => state is PermissionedAppState;
export declare function validateSecrets(permissions: Permissions): Promise<boolean>;
