import type { GitStatusPorcelainEntry } from './git-status.ts'; export declare const WORKSPACE_TOKEN_UNTRUSTED_IGNORED_ONLY_MARKER = ";ignored-only:1"; export declare const WORKSPACE_TOKEN_UNTRUSTED_INCLUDE_GIT_IGNORED_MARKER = ";include-gitignored:1"; export interface WorkspaceStatusDigest { digest: string; ignoredOnly: boolean; count: number; } export declare function createWorkspaceChangeToken(options: { headCommit: string; statusDigest: WorkspaceStatusDigest; }): string; export declare function extractHeadFromWorkspaceToken(token: string): string | null; export declare function extractDirtyDigestFromWorkspaceToken(token: string): string | null; export declare function markWorkspaceTokenForGitIgnoredSnapshots(token: string | null | undefined): string | null; export declare function isTrustedWorkspaceChangeToken(token: string | null | undefined): token is string; export declare function isWorkspaceHeadCommit(value: string): boolean; export declare function createWorkspaceStatusDigest(options: { entries: ReadonlyArray; getPathSignature: (normalizedRelativePath: string) => Promise; }): Promise;