1 | import { PolicyDocument } from '../policy-document';
|
2 | import { PolicyStatement } from '../policy-statement';
|
3 | /**
|
4 | * A PolicyDocument adapter that can modify statements flowing through it
|
5 | */
|
6 | export declare class MutatingPolicyDocumentAdapter extends PolicyDocument {
|
7 | private readonly wrapped;
|
8 | private readonly mutator;
|
9 | constructor(wrapped: PolicyDocument, mutator: (s: PolicyStatement) => PolicyStatement);
|
10 | addStatements(...statements: PolicyStatement[]): void;
|
11 | }
|