export type OfficeTableReadPermission = "filesystem:read" | "office:read";
export type OfficeTableReadErrorBoundary = "input" | "scope" | "permission" | "contract";
export type OfficeTableReadContext = {
    runtimeId?: string;
    invocationId?: string;
    dryRun?: boolean;
    allowedFileRoots?: readonly string[];
    grantedPermissions?: readonly OfficeTableReadPermission[];
    auditMetadata?: Readonly<Record<string, unknown>>;
};
export type OfficeTableReadValueMode = "display" | "raw" | "formula";
export type OfficeTableReadTarget = {
    workbookPath: string;
    sheetName?: string;
    range?: string;
    valueMode: OfficeTableReadValueMode;
    includeHeaderRow: boolean;
    maxRows: number;
    maxColumns: number;
};
export type OfficeTableReadRequest = {
    target?: Partial<OfficeTableReadTarget>;
    context?: OfficeTableReadContext;
};
export type OfficeTableReadCellValue = string | number | boolean | null;
export type OfficeTableReadEnvelope = {
    workbookPath: string;
    sheetName?: string;
    range?: string;
    rows: readonly (readonly OfficeTableReadCellValue[])[];
    headerRow?: readonly string[];
    truncated: false;
    metadata: {
        valueMode: OfficeTableReadValueMode;
        includeHeaderRow: boolean;
        maxRows: number;
        maxColumns: number;
    };
};
export type OfficeTableReadErrorCode = "MISSING_WORKBOOK_PATH" | "INVALID_RANGE" | "INVALID_VALUE_MODE" | "INVALID_RESOURCE_LIMIT" | "SCOPE_REJECTED" | "PERMISSION_DENIED" | "REAL_EXECUTION_BLOCKED";
export type OfficeTableReadError = {
    code: OfficeTableReadErrorCode;
    message: string;
    boundary: OfficeTableReadErrorBoundary;
    publicSafe: true;
};
export type OfficeTableReadAuditEvent = {
    type: string;
    toolId: "office.tableRead";
    invocationId: string;
    dryRun: boolean;
    targetPath?: string;
    metadata: Readonly<Record<string, unknown>>;
};
export type OfficeTableReadOutput = {
    kind: "agentCore.basicTool.office.tableRead";
    target: OfficeTableReadTarget;
    dryRun: true;
    executionBlocked: true;
    permissionsRequired: readonly OfficeTableReadPermission[];
    unsafeSideEffects: false;
    resultEnvelope: OfficeTableReadEnvelope;
};
export type OfficeTableReadResult = {
    ok: true;
    toolId: "office.tableRead";
    output: OfficeTableReadOutput;
    audit: readonly OfficeTableReadAuditEvent[];
    events: readonly string[];
} | {
    ok: false;
    toolId: "office.tableRead";
    error: OfficeTableReadError;
    audit: readonly OfficeTableReadAuditEvent[];
    events: readonly string[];
};
export declare const officeTableReadDescriptor: {
    readonly toolId: "office.tableRead";
    readonly capability: "read-table";
    readonly route: "toolabilityPool.officeBase.spreadsheet";
    readonly defaultDryRun: true;
    readonly tapOwnsApproval: true;
    readonly permissionsRequired: readonly ["filesystem:read", "office:read"];
    readonly unsafeSideEffects: false;
};
export declare function planOfficeTableRead(request?: OfficeTableReadRequest): OfficeTableReadResult;
