import type { RedirectResult } from '../../../../context/session_context.ts';
import type { DispatchFn } from '../../../../runtime/types.ts';
import type { FileStat, PathSpec } from '../../../../types.ts';
import type { Namespace } from '../../../mount/namespace/namespace.ts';
import type { SessionState } from '../../../session/session.ts';
export declare function modeLine(name: string, stat: FileStat, mode: number, failed: boolean): string;
export declare function handleChmod(namespace: Namespace, dispatch: DispatchFn, session: SessionState, args: readonly (string | PathSpec)[]): Promise<RedirectResult>;
//# sourceMappingURL=chmod.d.ts.map